00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _ctlib_h_
00021 #define _ctlib_h_
00022
00023
00024
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #if 0
00029 }
00030 #endif
00031 #endif
00032
00033 static char rcsid_ctlib_h[] = "$Id: ctlib.h,v 1.6 2002/11/21 16:53:43 freddy77 Exp $";
00034 static void *no_unused_ctlib_h_warn[] = { rcsid_ctlib_h, no_unused_ctlib_h_warn };
00035
00036 #include <tds.h>
00037
00038
00039
00040
00041 typedef struct ctcolinfo
00042 {
00043 TDS_SMALLINT *indicator;
00044 }
00045 CT_COLINFO;
00046
00047
00048
00049
00050 int ctlib_handle_server_message(TDSCONTEXT * ctxptr, TDSSOCKET * tdsptr, TDSMSGINFO * msgptr);
00051 int ctlib_handle_client_message(TDSCONTEXT * ctxptr, TDSSOCKET * tdsptr, TDSMSGINFO * msgptr);
00052 int _ct_get_server_type(int datatype);
00053
00054 #ifdef __cplusplus
00055 #if 0
00056 {
00057 #endif
00058 }
00059 #endif
00060
00061 #endif