/* SQLSYS_G.H - 25 10 1990 system dependend #defines and declarations for the SQLSVR class GUPTA SQLBase server */ #ifndef SQLSYS_G #define SQLSYS_G #include #include "sqlsys.h" #include "sqlusr.h" #define SS_MAXCURSORS 10 /* house number... */ #define SS_DEFINSZ 0 #define SS_DEFOUTSZ 0 #define SS_DEFCURSZ 0 #undef DB_SUPPORTS_MULTIPLE_OUTER_JOINS #undef DB_SUPPORTS_CASE_SENSITIVITY #define DB_SUPPORTS_FETCH_BACKWARD #define CB_MAX_PTYPES 19 /* SQLPDTM + 1 for 0 - based array */ #define CB_MAX_SYSTYPES 21 /* all cb system types (SQLPDTM + 2) */ #define CB_MAX_ERRCOUNT 3 /* number of defined cb errors */ #define CB_MAX_ERRTXTLEN SQLMERR /* max error text length */ #define CB_MAX_COLNAMELEN 50 /* max column name length */ /* Gupta program data types */ #define GUP_PBUFFER SQLPBUF /* char* or void* buffer */ #define GUP_PSTR SQLPSTR /* char* (\0 terminated) */ #define GUP_PUCHAR SQLPUCH /* unsigned char */ #define GUP_PCHAR SQLPSCH /* char */ #define GUP_PUSHORT SQLPUIN /* unsigned short */ #define GUP_PSHORT SQLPSIN /* short */ #define GUP_PUINT SQLPUIN /* unsigned int */ #define GUP_PINT SQLPSIN /* int */ #define GUP_PULONG SQLPULO /* unsigned long */ #define GUP_PLONG SQLPSLO /* long */ #define GUP_PFLOAT SQLPFLT /* float */ #define GUP_PDOUBLE SQLPDOU /* double */ #define GUP_PLSTRING (CB_MAX_PTYPES + 1) /* LONG string type */ #define GUP_PLSTREAM (CB_MAX_PTYPES + 2) /* LONG stream type */ #define GUP_PRECNO SQLPBUF /* recno buffer */ #endif