2
** Author(s): Kostis Sagonas
3
** Contact: xsb-contact@cs.sunysb.edu
5
** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
6
** Copyright (C) ECRC, Germany, 1990
8
** XSB is free software; you can redistribute it and/or modify it under the
9
** terms of the GNU Library General Public License as published by the Free
10
** Software Foundation; either version 2 of the License, or (at your option)
13
** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
14
** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
** FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for
18
** You should have received a copy of the GNU Library General Public License
19
** along with XSB; if not, write to the Free Software Foundation,
20
** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
** $Id: subp.h,v 1.15 2005/07/18 19:47:46 tswift Exp $
28
extern void intercept(CTXTdeclc Psc);
29
extern void init_interrupt(void);
30
extern void print_statistics(CTXTdeclc int);
31
extern void print_qatom(FILE *, char *);
32
extern void print_aqatom(FILE *, char *);
33
extern void print_dqatom(FILE *, char *);
34
extern void print_op(FILE *, char *, int);
35
extern void remove_incomplete_tables_reset_freezes(CTXTdecl);
37
extern xsbBool unify(CTXTdeclc Cell, Cell);
38
extern xsbBool are_identical_terms(Cell, Cell);
40
/* don't use Cell declarations here, to avoid gcc compiler warnings;
41
However, this causes warnings under Windows */
42
extern int compare( CTXTdeclc const void *, const void * );
43
extern int key_compare( CTXTdeclc const void *, const void * );
45
extern byte *exception_handler(CTXTdeclc char *);
47
extern Psc synint_proc(CTXTdeclc Psc, int);
48
extern void add_interrupt(CTXTdeclc Cell, Cell);
49
extern Cell build_interrupt_chain(CTXTdecl);