/* ***************************************************************************** * * $RCSfile: errabort.h,v $ * $Date: 1998/07/29 13:28:49 $ * $Source: /home/richard/Xml/RCS/errabort.h,v $ * $Revision: 1.2 $ * $Author: richard $ * ***************************************************************************** * * Copyright 1998, Brown University and Richard Goerwitz * ***************************************************************************** * * Header file for errabort.c, part of the xmlparse distribution. * ***************************************************************************** */ #ifndef ERRABORT_H_INCLUDED #define ERRABORT_H_INCLUDED #include "general.h" #ifdef HAVE_SYSLOG_H # include #endif #ifdef STDC_HEADERS # include #else # ifdef HAVE_VARARGS_H # include # else # error "Find and include your stdarg/vararg header file!" # endif #endif /* must be set by main() in the calling program */ extern char *program_name; /* initialized to 0 in errabort.c; set by daemonize_me() (in procutils.c) */ extern int use_syslog; /* e.g., errabort (1, "bad option, %c", optchar); */ extern int errabort (int, char *, ...); extern int errwarn (int, char *, ...); #ifndef XML_NODEBUG extern int errdebug (int, char *, ...); #endif /* XML_NODEBUG */ #endif /* ERRABORT_H_INCLUDED */