Sat Mar 24 23:51:52 2007

Asterisk developer's documentation


res_odbc.h File Reference

ODBC resource manager. More...

#include <sql.h>
#include <sqlext.h>
#include <sqltypes.h>

Include dependency graph for res_odbc.h:

Go to the source code of this file.

Data Structures

struct  odbc_obj

Typedefs

typedef odbc_obj odbc_obj

Enumerations

enum  odbc_status { ODBC_SUCCESS = 0, ODBC_FAIL = -1 }

Functions

void destroy_odbc_obj (odbc_obj **obj)
odbc_objfetch_odbc_obj (const char *name, int check)
odbc_objnew_odbc_obj (char *name, char *dsn, char *username, char *password)
int odbc_dump_fd (int fd, odbc_obj *obj)
odbc_status odbc_obj_connect (odbc_obj *obj)
odbc_status odbc_obj_disconnect (odbc_obj *obj)
SQLHSTMT odbc_prepare_and_execute (odbc_obj *obj, SQLHSTMT(*prepare_cb)(odbc_obj *obj, void *data), void *data)
int odbc_sanity_check (odbc_obj *obj)
int odbc_smart_direct_execute (odbc_obj *obj, SQLHSTMT stmt, char *sql)
int odbc_smart_execute (odbc_obj *obj, SQLHSTMT stmt)
int register_odbc_obj (char *name, odbc_obj *obj)


Detailed Description

ODBC resource manager.

Definition in file res_odbc.h.


Generated on Sat Mar 24 23:51:52 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.1