machine.H

00001 /* File:      machine.H
00002 ** Author(s): Kostis Sagonas, Jiyang Xu David S. Warren, Terrance Swift
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: machine.H,v 1.77 2006/05/22 20:52:49 tswift Exp $
00023 ** 
00024 */
00025 
00026 
00027 /*======================================================================*/
00028 /* This file contains definitions for predicates implemented by the     */
00029 /* underline machine (hard builtins).                                   */
00030 /* Please keep this format for easier diffing.                          */
00031 /*======================================================================*/
00032 
00033 :- export
00034     float_op/10,
00035         psc_name/2, 
00036         psc_arity/2, 
00037         psc_type/2, 
00038         psc_prop/2, 
00039         psc_set_type/2, 
00040         psc_set_prop/2,
00041         psc_set_spy/2,
00042         psc_ep/2,
00043         psc_set_ep/2,
00044         psc_data/2,
00045         term_new_mod/3,
00046         term_psc/2, 
00047         term_type/2, 
00048         term_compare/3, 
00049         term_new/2,
00050         term_arg/3, 
00051         term_set_arg/4, 
00052         term_hash/3,
00053         conget/2,
00054         conset/2,
00055         stat_flag/2, 
00056         stat_set_flag/2, 
00057         stat_sta/1,
00058         xwam_state/2,
00059         buff_alloc/2, 
00060         buff_word/3, 
00061         buff_set_word/3,
00062         buff_dealloc/3, 
00063         buff_cell/3, 
00064         buff_set_cell/4, 
00065         buff_set_var/4,
00066         buff_byte/3, 
00067         buff_set_byte/3, 
00068         file_puttoken/3,
00069         code_call/3, 
00070         trie_assert_hdr_info/3,
00071         call0/1,
00072         code_load/3, 
00073         file_gettoken/5,
00074         stat_cputime/1,
00075         stat_walltime/1,
00076         str_match/5,
00077         dirname_canonic/2,
00078         psc_insert/4, 
00079         psc_import/3, 
00080         psc_insertmod/3,
00081         substring/4,
00082         str_len/2, 
00083         str_cat/3, 
00084         str_cmp/3, 
00085         string_substitute/4,
00086         unload_seg/1, 
00087         load_obj/4, 
00088         expand_filename/2,
00089         tilde_expand_filename/2,
00090         is_absolute_filename/1,
00091         parse_filename/4,
00092         almost_search_module/5,
00093         existing_file_extension/2,
00094         getenv/2, 
00095         sys_syscall/4,
00096         sys_system/7, 
00097         sys_gethost/2, 
00098         sys_errno/1, 
00099         file_stat/3,
00100         file_writequoted/2,
00101         intern_string/2,
00102         psc_set_shared/2, 
00103         psc_shared/2, 
00104         psc_set_private/2, 
00105         psc_env/2, 
00106         psc_spy/2, 
00107         psc_tabled/2, 
00108         psc_set_tabled/2, 
00109         dereference_the_bucket/2,
00110         pair_psc/2, 
00111         pair_next/2, 
00112         next_bucket/2,
00113         is_xwammode/1, 
00114         close_open_tables/0, 
00115         abolish_table_info/0,
00116         zero_out_profile/0, 
00117         write_out_profile/0,
00118         assert_code_to_buff/1,
00119         assert_buff_to_clref/6,
00120         formatted_io/5,
00121         file_read_canonical/3,
00122         db_get_last_clause/4,
00123         gen_retract_all/2,
00124         db_get_clause/11,
00125         db_retract0/3,
00126         db_build_prref/3,
00127         db_get_prref/2,
00128         db_abolish0/2,
00129         db_reclaim0/2,
00130    dynamic_code_function/5,
00131         oracle_query/7,
00132         odbc_exec_query/6,
00133         parsort/4,
00134    unify_with_occurs_check/2,
00135         private_builtin/11,
00136         segfault_handler/1,
00137         is_charlist/2,
00138         is_charlist/1,
00139         trimcore/0,
00140         '$$set_scope_marker'/0,
00141         '$$unwind_stack'/0,
00142         '$$clean_up_block'/0,
00143         thread_request/8,  mt_random_request/3,
00144         pow/3,
00145    gc_clauses/0,
00146         print_ls/0, print_tr/0, print_heap/2, print_cp/0, print_regs/0,
00147         print_all_stacks/0, expand_heap/0, mark_heap/1, gc_heap/0,
00148         gc_stuff/2,
00149         '$$findall_init'/2,
00150         '$$findall_add'/3,
00151         '$$findall_get_solutions'/4,
00152         socket_request/7,
00153         thread_request/5, mt_random_request/3,
00154         set_arg/3,
00155         put_attributes/2,
00156         get_attributes/2,
00157         delete_attributes/1,
00158         attv_unify/2,
00159         put_attr/3,
00160         get_attr/3,
00161         del_attr/2,
00162         install_verify_attribute_handler/4,
00163         verify_attribute_handler/4,
00164         globalvar/1,
00165         xsb_backtrace/0, xsb_backtrace/1.
00166 
00167 :- import assert/1, retract/1, (dynamic)/1 from assert.
00168 :- import write/1, writeln/1, is_attv/1 from standard.
00169 
00170 :- export 
00171         file_function/7, file_function/3, conname/2, conpsc/2, 
00172         machine_file_exists/1, slash/1.
00173 
00174 :- export set_pil_on/0, set_pil_off/0, set_prof_on/1, set_prof_off/0.
00175 
00176 /* --------------------- end of file machine.H ------------------------ */
00177 

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