00001 /* File: xcallxsb.H 00002 ** Author(s): Ernie Johnson 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 1997-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: xcallxsb.H,v 1.10 2005/01/14 18:32:05 ruim Exp $ 00022 ** 00023 */ 00024 00025 00026 00027 :- import 00028 integer/1, close_open_tables/0 00029 from machine. 00030 00031 :- import file_open/3, file_close/1 00032 from file_io. 00033 00034 :- import call_c/1, call_expose/1, catch/3, 00035 goal_cut_trans/3, repeat/0, (=..)/2 from standard. 00036 :- import set_inthandler/2 from loader. 00037 :- import file_write/2, file_nl/1 from xsb_writ. 00038 :- import file_read_foe/3, file_read/3 from xsb_read. 00039 :- import excess_vars/4 from setof. 00040 :- import conset/2 from gensym. 00041 :- import [] / 0 from usermod. % just to make usermod typed "module"