00001 /* File: prolog_includes/standard.h 00002 ** Author(s): kifer 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 1999 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: standard.h,v 1.7 1999/11/29 07:59:56 kifer Exp $ 00022 ** 00023 */ 00024 00025 00026 00027 #define STDIN 0 00028 #define STDOUT 1 00029 #define STDERR 2 00030 #define STDWARN 3 /* output stream for xsb warnings */ 00031 #define STDMSG 4 /* output for regular xsb messages */ 00032 #define STDDBG 5 /* output for debugging info */ 00033 #define STDFDBK 6 /* output for XSB feedback 00034 (prompt/yes/no/Aborting/answers) */ 00035 00036 #define AF_INET 0 /* XSB-side socket request for Internet domain */ 00037 #define AF_UNIX 1 /* XSB-side socket request for UNIX domain */