~burner/xsb/debianized-xsb

« back to all changes in this revision

Viewing changes to emu/subp.h

  • Committer: Michael R. Head
  • Date: 2006-09-06 22:11:55 UTC
  • Revision ID: burner@n23-20060906221155-7e398d23438a7ee4
Add the files from the 3.0.1 release package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* File:      subp.h
 
2
** Author(s): Kostis Sagonas
 
3
** Contact:   xsb-contact@cs.sunysb.edu
 
4
** 
 
5
** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
 
6
** Copyright (C) ECRC, Germany, 1990
 
7
** 
 
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)
 
11
** any later version.
 
12
** 
 
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
 
16
** more details.
 
17
** 
 
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.
 
21
**
 
22
** $Id: subp.h,v 1.15 2005/07/18 19:47:46 tswift Exp $
 
23
** 
 
24
*/
 
25
 
 
26
#include "context.h" 
 
27
 
 
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);
 
36
 
 
37
extern xsbBool unify(CTXTdeclc Cell, Cell);
 
38
extern xsbBool are_identical_terms(Cell, Cell);
 
39
 
 
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 * );
 
44
 
 
45
extern byte *exception_handler(CTXTdeclc char *);
 
46
 
 
47
extern Psc synint_proc(CTXTdeclc Psc, int);
 
48
extern void add_interrupt(CTXTdeclc Cell, Cell);
 
49
extern Cell build_interrupt_chain(CTXTdecl);