odbc_xsb.h

00001 /* File:      odbc_xsb.h
00002 ** Author(s): Lily Dong
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 **
00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
00006 **
00007 ** XSB is free software; you can redistribute it and/or modify it under the
00008 ** terms of the GNU Library General Public License as published by the Free
00009 ** Software Foundation; either version 2 of the License, or (at your option)
00010 ** any later version.
00011 **
00012 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
00013 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00014 ** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
00015 ** more details.
00016 **
00017 ** You should have received a copy of the GNU Library General Public License
00018 ** along with XSB; if not, write to the Free Software Foundation,
00019 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00020 **
00021 ** $Id: odbc_xsb.h,v 1.8 2005/07/26 22:46:24 crojo Exp $
00022 **
00023 */
00024 
00025 #ifndef __ODBC_XSB_H__
00026 #define __ODBC_XSB_H__
00027 
00028 #ifdef XSB_ODBC
00029 
00030 #include "odbc_def_xsb.h"
00031 
00032 //the function declarations are kept seperate from the constant and structure declarations
00033 //of ODBC_XSB since each function depends on CTXTdecl from context.h, but context.h depends on the 
00034 //structure declarations of ODBC_XSB.
00035 extern void ODBCConnect(CTXTdecl);
00036 extern void ODBCDisconnect(CTXTdecl);
00037 extern void SetBindVarNum(CTXTdecl);
00038 extern void FindFreeCursor(CTXTdecl);
00039 extern void SetBindVal(CTXTdecl);
00040 extern void Parse(CTXTdecl);
00041 extern int  GetColumn(CTXTdecl);
00042 extern void SetCursorClose(int);
00043 extern void FetchNextRow(CTXTdecl);
00044 extern void ODBCCommit(CTXTdecl);
00045 extern void ODBCRollback(CTXTdecl);
00046 extern void ODBCColumns(CTXTdecl);
00047 extern void ODBCTables(CTXTdecl);
00048 extern void ODBCUserTables(CTXTdecl);
00049 extern void ODBCDescribeSelect(CTXTdecl);
00050 extern void ODBCConnectOption(CTXTdecl);
00051 extern void ODBCDataSources(CTXTdecl);
00052 extern void ODBCGetInfo(CTXTdecl);
00053 extern void ODBCRowCount(CTXTdecl);
00054 
00055 #endif /*XSB_ODBC defined*/
00056 
00057 #endif /*this header included*/
00058 

Generated on Wed Jul 26 13:30:41 2006 for XSB by  doxygen 1.4.5