subp.h

00001 /* File:      subp.h
00002 ** Author(s): Kostis Sagonas
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 ** 
00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
00006 ** Copyright (C) ECRC, Germany, 1990
00007 ** 
00008 ** XSB is free software; you can redistribute it and/or modify it under the
00009 ** terms of the GNU Library General Public License as published by the Free
00010 ** Software Foundation; either version 2 of the License, or (at your option)
00011 ** any later version.
00012 ** 
00013 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
00014 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00015 ** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
00016 ** more details.
00017 ** 
00018 ** You should have received a copy of the GNU Library General Public License
00019 ** along with XSB; if not, write to the Free Software Foundation,
00020 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021 **
00022 ** $Id: subp.h,v 1.15 2005/07/18 19:47:46 tswift Exp $
00023 ** 
00024 */
00025 
00026 #include "context.h" 
00027 
00028 extern void intercept(CTXTdeclc Psc);
00029 extern void init_interrupt(void);
00030 extern void print_statistics(CTXTdeclc int);
00031 extern void print_qatom(FILE *, char *);
00032 extern void print_aqatom(FILE *, char *);
00033 extern void print_dqatom(FILE *, char *);
00034 extern void print_op(FILE *, char *, int);
00035 extern void remove_incomplete_tables_reset_freezes(CTXTdecl);
00036 
00037 extern xsbBool unify(CTXTdeclc Cell, Cell);
00038 extern xsbBool are_identical_terms(Cell, Cell);
00039 
00040 /* don't use Cell declarations here, to avoid gcc compiler warnings;
00041    However, this causes warnings under Windows */
00042 extern int compare( CTXTdeclc const void *, const void * );
00043 extern int key_compare( CTXTdeclc const void *, const void * );
00044 
00045 extern byte *exception_handler(CTXTdeclc char *);
00046 
00047 extern Psc synint_proc(CTXTdeclc Psc, int);
00048 extern void add_interrupt(CTXTdeclc Cell, Cell);
00049 extern Cell build_interrupt_chain(CTXTdecl);

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