odbc_call.H

00001 /* File:      odbc_call.H
00002 ** Author(s): Lily Dong, David S. Warren
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 **
00005 ** Copyright (C) The Research Foundation of SUNY, 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_call.H,v 1.24 2005/09/29 15:56:26 dwarren Exp $
00022 **
00023 */
00024 
00025 
00026 :- export odbc_open/1, odbc_open/2,
00027         odbc_open/3, odbc_open/4,
00028         odbc_close/0, odbc_close/1,
00029         odbc_shutdown/0,
00030         odbc_sql/3, odbc_sql/4,
00031         findall_odbc_sql/3, findall_odbc_sql/4,
00032         odbc_sql_cnt/4,
00033         odbc_query/2, odbc_query/3,
00034         odbc_deallocate_query/1, odbc_deallocate_query/2,
00035   odbc_import/2, odbc_import/3, odbc_import/4,
00036   odbc_transaction/1, odbc_transaction/2,
00037         odbc_connect_option/5,
00038    set_connect_option/3, get_connect_option/3,
00039         odbc_get_schema/2, odbc_get_schema/3,
00040         odbc_show_schema/1, odbc_show_schema/2,
00041         odbc_user_tables/1, odbc_user_tables/2,
00042         odbc_insert/2, odbc_insert/3,
00043         odbc_delete/2, odbc_delete/3,
00044   odbc_data_sources/2,
00045   odbc_connection_exists/1,
00046         odbc_attach/2, odbc_attach/3,
00047         odbc_create_table/2, odbc_create_table/3,
00048         odbc_create_index/3, odbc_create_index/4,
00049         odbc_delete_table/1, odbc_delete_table/2,
00050         odbc_delete_view/1, odbc_delete_view/2,
00051         odbc_delete_index/2, odbc_delete_index/3,
00052         odbc_get_info/2, odbc_get_info/3,
00053   odbc_flag/2, set_odbc_flag/2, 
00054   odbc_flag/3, % obsolescent.
00055   odbc_current_cursor/1, odbc_deactivate_cursor/1.
00056   
00057 
00058 % import some necessary predicates from library.
00059 
00060 :- import call0/1, odbc_exec_query/6,xsb_backtrace/1 from machine.
00061 :- import conset/2, conget/2, coninc/1 from gensym.
00062 :- import length/2, append/3, member/2, copy_term/2, memberchk/2 from basics.
00063 :- import misc_error/1,domain_error/4 from error_handler.
00064 
00065 :- import (dynamic)/1, retractall/1, abolish/1, asserta/1, assert/1,
00066         retract/1
00067         from assert.
00068 
00069 :- import writeln/1, write/1 , '=..'/2, atomic/1, atom_codes/2,
00070         atom/1, number_codes/2, name/2, number/1, integer/1, nl/0,
00071         '\='/2, functor/3, abort/1, structure/1, throw/1
00072         from standard.
00073 
00074 :- import findall/3, setof/3, bagof/3
00075         from setof.
00076 
00077 :- import numbervars/1 from num_vars.
00078 
00079 :- import ','/2, (:-)/2, '/'/2 from usermod.

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