00001 /* File: odbc_def_xsb.h 00002 ** Author(s): Lily Dong, Charles Rojo 00003 ** Contact: xsb-contact@cs.sunysb.edu, c.rojo@xsb.com 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 ** 00022 ** 00023 */ 00024 #ifndef __ODBC_DEF_XSB_H__ 00025 #define __ODBC_DEF_XSB_H__ 00026 00027 struct Cursor; 00028 struct NumberofCursors; 00029 00030 #define ODBC_CONNECT 1 00031 #define ODBC_PARSE 2 00032 #define ODBC_SET_BIND_VAR_NUM 3 00033 #define ODBC_FETCH_NEXT_ROW 4 00034 #define ODBC_GET_COLUMN 5 00035 #define ODBC_SET_BIND_VAL 6 00036 #define ODBC_FIND_FREE_CURSOR 7 00037 #define ODBC_DISCONNECT 8 00038 #define ODBC_SET_CURSOR_CLOSE 9 00039 #define ODBC_COMMIT 10 00040 #define ODBC_ROLLBACK 11 00041 #define ODBC_COLUMNS 12 00042 #define ODBC_TABLES 13 00043 #define ODBC_USER_TABLES 14 00044 #define ODBC_DESCRIBE_SELECT 15 00045 #define ODBC_CONNECT_OPTION 16 00046 #define ODBC_DATA_SOURCES 17 00047 #define ODBC_GET_INFO 18 00048 #define ODBC_ROW_COUNT 19 00049 00050 #endif
1.4.5