xsb_hook.H

00001 /* File:      xsb_hook.P -- mechanism for adding hooks to xsb
00002 ** Author(s): kifer
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 ** 
00005 ** Copyright (C) The Research Foundation of SUNY, 1999
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: xsb_hook.H,v 1.7 2005/01/14 18:32:05 ruim Exp $
00022 ** 
00023 */
00024 
00025 :- import
00026         '=..'/2, atom/1, call/1, call_c/1, callable/1, abort/1, arg/3
00027         from standard.
00028 :- import retractall/1, assert/1, (dynamic)/1 from assert.
00029 :- import psc_type/2, term_psc/2, term_new/2, psc_arity/2 from machine.
00030 
00031 :- export add_xsb_hook/1, remove_xsb_hook/1, call_xsb_hook/2, call_xsb_hook/3.
00032 
00033 :- export
00034         xsb_exit_hook/1,
00035         xsb_undefined_predicate_hook/1,
00036         xsb_assert_hook/1,
00037         xsb_retract_hook/1,
00038         xsb_before_prompt_hook/1.

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