--- parser3/src/include/pa_sapi.h 2001/09/26 10:32:25 1.13 +++ parser3/src/include/pa_sapi.h 2003/01/21 15:51:11 1.22 @@ -1,16 +1,15 @@ /** @file Parser: web server api interface object decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: pa_sapi.h,v 1.13 2001/09/26 10:32:25 parser Exp $ + Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_SAPI_H #define PA_SAPI_H -#include "pa_config_includes.h" +static const char* IDENT_SAPI_H="$Date: 2003/01/21 15:51:11 $"; + #include "pa_pool.h" #include "pa_types.h" @@ -22,6 +21,10 @@ class Hash; struct SAPI { /// log error message static void log(Pool& pool, const char *fmt, ...); + /// log error message & die + static void die(const char *fmt, ...); + /// environment strings + static const char *const *environment(Pool& pool); /// get environment string static const char *get_env(Pool& pool, const char *name); /// read POST request bytes