00001 /* File: intern.P 00002 ** Author(s): Prasad Rao, Hasan Davulcu 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 1998-2000 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: storage.H,v 1.11 2006/01/20 01:30:48 kifer Exp $ 00022 ** 00023 */ 00024 00025 00026 :- export storage_insert_fact_bt/3, storage_delete_fact_bt/3, 00027 storage_insert_fact/3, storage_delete_fact/3, 00028 storage_delete_all/1, 00029 storage_find_fact/2, 00030 storage_reclaim_space/1, 00031 storage_commit/1, 00032 storage_insert_keypair_bt/4, storage_delete_keypair_bt/3, 00033 storage_insert_keypair/4, storage_delete_keypair/3, 00034 storage_find_keypair/3, 00035 %% this is for debugging/profiling 00036 storage_show_table_state/0. 00037 00038 :- import trie_intern/5, trie_interned/4, trie_unintern_nr/2, 00039 unmark_uninterned_nr/2, 00040 delete_trie/1, 00041 trie_reclaim_uninterned_nr/1 00042 from intern. 00043 00044 00045 :- import throw/1, atom/1 from standard.