#include "xsb_config.h"
#include "cell_xsb.h"
#include <sql.h>
#include <sqlext.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "cinterf.h"
#include "deref.h"
#include "error_xsb.h"
#include "export.h"
#include "register.h"
#include "ptoc_tag_xsb_i.h"
#include "io_builtins_xsb.h"
#include "flags_xsb.h"
#include "auxlry.h"
#include "flag_defs_xsb.h"
#include "loader_xsb.h"
#include "memory_xsb.h"
#include "heap_xsb.h"
#include "context.h"
#include "varstring_xsb.h"
#include "thread_xsb.h"
Data Structures | |
struct | Cursor |
struct | NumberofCursors |
Defines | |
#define | MAXCURSORNUM 200 |
#define | MAXVARSTRLEN 65000 |
#define | MAXI(a, b) ((a)>(b)?(a):(b)) |
#define | wcan_string tsgLBuff1 |
#define | MAX_BIND_VALS 30 |
Functions | |
void | print_hdbc (char *msg, HDBC hdbc) |
SWORD | ODBCToXSBType (SWORD odbcType) |
int | GetInfoTypeType (int SQL_INFO_TYPE) |
int | PrintErrorMsg (struct Cursor *cur) |
void | SetCursorClose (struct Cursor *cur) |
void | ODBCConnect (CTXTdecl) |
void | ODBCDisconnect (CTXTdecl) |
void | FindFreeCursor (CTXTdecl) |
void | SetBindVarNum (CTXTdecl) |
DllExport void call_conv | write_canonical_term (CTXTdeclc Cell prologterm, int letterflag) |
void | string_to_char (Cell list, char **term_string) |
void | SetBindVal (CTXTdecl) |
void | Parse (CTXTdecl) |
void | ODBCCommit (CTXTdecl) |
void | ODBCRollback (CTXTdecl) |
void | ODBCColumns (CTXTdecl) |
void | ODBCTables (CTXTdecl) |
void | ODBCUserTables (CTXTdecl) |
UDWORD | DisplayColSize (SWORD coltype, UDWORD collen, UCHAR *colname) |
xsbBool | unify (CTXTdecltypec Cell, Cell) |
void | ODBCDataSources (CTXTdecl) |
void | ODBCDescribeSelect (CTXTdecl) |
void | FetchNextRow (CTXTdecl) |
void | ODBCConnectOption (CTXTdecl) |
Cell | build_codes_list (CTXTdeclc char *charptr) |
int | GetColumn (CTXTdecl) |
void | ODBCGetInfo (CTXTdecl) |
void | ODBCRowCount (CTXTdecl) |
Variables | |
static Psc | nullFctPsc = NULL |
static long | SQL_NTSval = SQL_NTS |
static long | SQL_NULL_DATAval = SQL_NULL_DATA |
static HENV | henv = NULL |
NumberofCursors * | FCurNum |
Cursor * | FCursor |
Cursor * | LCursor |
char * | term_string [MAX_BIND_VALS] = {0} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|