Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

ctlib.h

00001 /* FreeTDS - Library of routines accessing Sybase and Microsoft databases
00002  * Copyright (C) 1998-1999  Brian Bruns
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this library; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  */
00019 
00020 #ifndef _ctlib_h_
00021 #define _ctlib_h_
00022 /*
00023 ** Internal (not part of the exposed API) prototypes and such.
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 ** internal typedefs
00040 */
00041 typedef struct ctcolinfo
00042 {
00043         TDS_SMALLINT *indicator;
00044 }
00045 CT_COLINFO;
00046 
00047 /*
00048 ** internal prototypes
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

Generated on Sat Apr 5 23:17:39 2003 for FreeTDS API by doxygen1.2.18