|
|
| version 1.22.2.6, 2003/02/14 17:28:19 | version 1.22.2.8.2.4, 2003/03/24 09:39:55 |
|---|---|
| Line 12 static const char* IDENT_SAPI_H="$Date$" | Line 12 static const char* IDENT_SAPI_H="$Date$" |
| // includes | // includes |
| #include "pa_pool.h" | |
| #include "pa_types.h" | #include "pa_types.h" |
| #include "pa_array.h" | #include "pa_array.h" |
| Line 23 class SAPI_Info; | Line 23 class SAPI_Info; |
| struct SAPI { | struct SAPI { |
| /// log error message | /// log error message |
| static void log(SAPI_Info& info, const char* fmt, ...); | static void log(SAPI_Info& info, const char* fmt, ...); |
| /// log error message & die | /// log error message & exit |
| static void die(const char* fmt, ...); | static void die(const char* fmt, ...); |
| /// log error message & abort[write core] | |
| static void abort(const char* fmt, ...); | |
| /// environment strings | /// environment strings |
| static const char* const *environment(SAPI_Info& info, Pool& pool); | static const char *const * environment(SAPI_Info& info); |
| /// get environment string | /// get environment string |
| static CharPtr get_env(SAPI_Info& info, const char* name); | static char* get_env(SAPI_Info& info, const char* name); |
| /// read POST request bytes | /// read POST request bytes |
| static size_t read_post(SAPI_Info& info, char *buf, size_t max_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] | /// add response header attribute [but do not send it to client] |