--- parser3/src/include/pa_sapi.h 2001/09/24 14:34:25 1.12 +++ parser3/src/include/pa_sapi.h 2001/10/22 16:44:42 1.14 @@ -2,10 +2,9 @@ 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.12 2001/09/24 14:34:25 parser Exp $ + $Id: pa_sapi.h,v 1.14 2001/10/22 16:44:42 parser Exp $ */ #ifndef PA_SAPI_H @@ -23,6 +22,8 @@ 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, ...); /// get environment string static const char *get_env(Pool& pool, const char *name); /// read POST request bytes