--- parser3/src/include/pa_sapi.h 2003/02/14 17:28:19 1.22.2.6 +++ parser3/src/include/pa_sapi.h 2003/02/26 11:29:58 1.22.2.7 @@ -8,7 +8,7 @@ #ifndef PA_SAPI_H #define PA_SAPI_H -static const char* IDENT_SAPI_H="$Date: 2003/02/14 17:28:19 $"; +static const char* IDENT_SAPI_H="$Date: 2003/02/26 11:29:58 $"; // includes @@ -18,6 +18,7 @@ static const char* IDENT_SAPI_H="$Date: // forwards class SAPI_Info; +class Pool; /// target web-Server API struct SAPI { @@ -28,7 +29,7 @@ struct SAPI { /// environment strings static const char* const *environment(SAPI_Info& info, Pool& pool); /// get environment string - static CharPtr get_env(SAPI_Info& info, const char* name); + static char* get_env(Pool& pool, SAPI_Info& info, const char* name); /// read POST request bytes static size_t read_post(SAPI_Info& info, char *buf, size_t max_bytes); /// add response header attribute [but do not send it to client]