Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

res_odbc.h File Reference

#include <sql.h>
#include <sqlext.h>
#include <sqltypes.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

odbc_objnew_odbc_obj (char *name, char *dsn, char *username, char *password)
odbc_status odbc_obj_connect (odbc_obj *obj)
odbc_status odbc_obj_disconnect (odbc_obj *obj)
void destroy_obdc_obj (odbc_obj **obj)
int register_odbc_obj (char *name, odbc_obj *obj)
odbc_objfetch_odbc_obj (char *name)
int odbc_dump_fd (int fd, odbc_obj *obj)


Typedef Documentation

typedef struct odbc_obj odbc_obj
 

Definition at line 22 of file res_odbc.h.


Enumeration Type Documentation

enum odbc_status
 

Enumeration values:
ODBC_SUCCESS 
ODBC_FAIL 

Definition at line 24 of file res_odbc.h.


Function Documentation

void destroy_obdc_obj odbc_obj **    obj
 

odbc_obj* fetch_odbc_obj char *    name
 

odbc_obj* new_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
 

int register_odbc_obj char *    name,
odbc_obj   obj
 


Generated on Thu Oct 28 11:33:06 2004 for Asterisk by doxygen1.2.15