driver_manager_defs.h File Reference


Data Structures

union  xsb_value
struct  xsb_data
struct  xsb_connectionHandle
struct  xsb_queryHandle
struct  driverFunction
struct  driver
union  functionPtrs

Defines

#define MAX_CONNECTIONS   25
#define MAX_HANDLES   25
#define MAX_DRIVERS   25
#define MAX_QUERIES   100
#define CONNECT   0
#define DISCONNECT   1
#define QUERY   2
#define PREPARE   3
#define EXEC_PREPARE   4
#define CLOSE_STMT   5
#define ERROR_MESG   6
#define INT_TYPE   1
#define FLOAT_TYPE   2
#define STRING_TYPE   3
#define TERM_TYPE   4
#define SUCCESS   0
#define FAILURE   -1
#define QUERY_BEGIN   0
#define QUERY_RETRIEVE   1
#define QUERY_SIZE   10000
#define ELEMENT_SIZE   1000
#define TERM_CHAR   '\255'
#define RESULT_EMPTY_BUT_REQUESTED   0
#define RESULT_NONEMPTY_OR_NOT_REQUESTED   1
#define TOO_MANY_RETURN_COLS   2
#define INVALID_RETURN_LIST   3
#define TOO_FEW_RETURN_COLS   4

Functions

DllExport int call_conv registerXSBDriver (char *driver, int num)
DllExport int call_conv registerXSBFunction (char *dr, int type, union functionPtrs *func)

Define Documentation

#define CLOSE_STMT   5
 

#define CONNECT   0
 

#define DISCONNECT   1
 

#define ELEMENT_SIZE   1000
 

#define ERROR_MESG   6
 

#define EXEC_PREPARE   4
 

#define FAILURE   -1
 

#define FLOAT_TYPE   2
 

#define INT_TYPE   1
 

#define INVALID_RETURN_LIST   3
 

#define MAX_CONNECTIONS   25
 

#define MAX_DRIVERS   25
 

#define MAX_HANDLES   25
 

#define MAX_QUERIES   100
 

#define PREPARE   3
 

#define QUERY   2
 

#define QUERY_BEGIN   0
 

#define QUERY_RETRIEVE   1
 

#define QUERY_SIZE   10000
 

#define RESULT_EMPTY_BUT_REQUESTED   0
 

#define RESULT_NONEMPTY_OR_NOT_REQUESTED   1
 

#define STRING_TYPE   3
 

#define SUCCESS   0
 

#define TERM_CHAR   '\255'
 

#define TERM_TYPE   4
 

#define TOO_FEW_RETURN_COLS   4
 

#define TOO_MANY_RETURN_COLS   2
 


Function Documentation

DllExport int call_conv registerXSBDriver char *  driver,
int  num
 

DllExport int call_conv registerXSBFunction char *  dr,
int  type,
union functionPtrs func
 


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