--- parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/04/03 07:32:47 1.21 +++ parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/04/09 09:48:24 1.23 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: mod_parser3.C,v 1.21 2001/04/03 07:32:47 paf Exp $ + $Id: mod_parser3.C,v 1.23 2001/04/09 09:48:24 paf Exp $ */ #include "httpd.h" @@ -21,6 +21,9 @@ #include "pa_globals.h" #include "pa_request.h" #include "pa_version.h" +#include "pa_socks.h" + +/// @todo init_socks struct Parser_module_config { const char* parser_root_auto_path; /// filespec of admin's auto.p file @@ -84,7 +87,7 @@ const char *SAPI::get_env(Pool& pool, co return (const char *)ap_table_get(r->subprocess_env, name); } -uint SAPI::read_post(Pool& pool, char *buf, uint max_bytes) { +size_t SAPI::read_post(Pool& pool, void *buf, size_t max_bytes) { request_rec *r=static_cast(pool.context()); /* ap_log_error(APLOG_MARK, APLOG_DEBUG, r->server,