#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xsb_config.h"
#include "cell_xsb.h"
#include "cinterf.h"
#include "io_builtins_xsb.h"
#include "driver_manager_defs.h"
Functions | |
static struct xsb_connectionHandle * | isConnectionHandle (char *handle) |
static struct xsb_queryHandle * | isQueryHandle (char *handle) |
static char * | buildSQLQuery (prolog_term sqlQueryList) |
static union functionPtrs * | getDriverFunction (char *driver, int type) |
static int | bindReturnList (prolog_term returnList, struct xsb_data **result, struct xsb_queryHandle *) |
static void | freeQueryHandle (struct xsb_queryHandle *qHandle, int pos) |
static void | freeConnectionHandle (struct xsb_connectionHandle *cHandle, int pos) |
static int | closeQueryHandle (char *queryHandle) |
DllExport int call_conv | initialise (void) |
DllExport int call_conv | openConnection (void) |
DllExport int call_conv | closeConnection (void) |
DllExport int call_conv | queryConnection (void) |
DllExport int call_conv | prepareStatement (void) |
DllExport int call_conv | executePreparedStatement (void) |
DllExport int call_conv | closeStatement (void) |
DllExport int call_conv | exception (void) |
DllExport int call_conv | registerXSBDriver (char *drivername, int num) |
DllExport int call_conv | registerXSBFunction (char *drivername, int type, union functionPtrs *func) |
Variables | |
xsb_connectionHandle * | CHandles [MAX_CONNECTIONS] |
xsb_queryHandle * | QHandles [MAX_QUERIES] |
driver * | DBdrivers [MAX_DRIVERS] |
int | numDrivers |
int | numCHandles |
int | numQHandles |
char * | errorMesg |
char * | errorNumber |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|