odbc_driver.c File Reference

#include "xsb_config.h"
#include "odbc_driver_defs.h"

Functions

static int driverODBC_getXSBType (SQLSMALLINT dataType)
static void driverODBC_error (SQLSMALLINT handleType, SQLHANDLE handle)
static struct xsb_data ** driverODBC_getNextRow (struct driverODBC_queryInfo *query, int direct)
DllExport int call_conv driverODBC_initialise ()
int driverODBC_connect (struct xsb_connectionHandle *handle)
int driverODBC_disconnect (struct xsb_connectionHandle *handle)
xsb_data ** driverODBC_query (struct xsb_queryHandle *handle)
int driverODBC_prepareStatement (struct xsb_queryHandle *qHandle)
xsb_data ** driverODBC_execPrepareStatement (struct xsb_data **param, struct xsb_queryHandle *handle)
int driverODBC_closeStatement (struct xsb_queryHandle *handle)
char * driverODBC_errorMesg ()
DllExport int call_conv driverODBC_register (void)

Variables

driverODBC_connectionInfoodbcHandles [MAX_HANDLES]
driverODBC_queryInfoodbcQueries [MAX_QUERIES]
int numHandles
int numQueries
SQLCHARerrorMesg
SQLHENV henv

Function Documentation

int driverODBC_closeStatement struct xsb_queryHandle handle  ) 
 

int driverODBC_connect struct xsb_connectionHandle handle  ) 
 

int driverODBC_disconnect struct xsb_connectionHandle handle  ) 
 

static void driverODBC_error SQLSMALLINT  handleType,
SQLHANDLE  handle
[static]
 

char* driverODBC_errorMesg  ) 
 

struct xsb_data** driverODBC_execPrepareStatement struct xsb_data **  param,
struct xsb_queryHandle handle
 

static struct xsb_data ** driverODBC_getNextRow struct driverODBC_queryInfo query,
int  direct
[static]
 

static int driverODBC_getXSBType SQLSMALLINT  dataType  )  [static]
 

DllExport int call_conv driverODBC_initialise  ) 
 

int driverODBC_prepareStatement struct xsb_queryHandle qHandle  ) 
 

struct xsb_data** driverODBC_query struct xsb_queryHandle handle  ) 
 

DllExport int call_conv driverODBC_register void   ) 
 


Variable Documentation

SQLCHAR* errorMesg
 

SQLHENV henv
 

int numHandles
 

int numQueries
 

struct driverODBC_connectionInfo* odbcHandles[MAX_HANDLES]
 

struct driverODBC_queryInfo* odbcQueries[MAX_QUERIES]
 


Generated on Wed Jul 26 13:26:55 2006 for XSB by  doxygen 1.4.5