--- parser3/src/include/pa_globals.h 2001/03/21 15:53:20 1.18 +++ parser3/src/include/pa_globals.h 2001/03/22 11:19:10 1.20 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_globals.h,v 1.18 2001/03/21 15:53:20 paf Exp $ + $Id: pa_globals.h,v 1.20 2001/03/22 11:19:10 paf Exp $ */ #ifndef PA_GLOBALS_H @@ -16,7 +16,7 @@ //@{ /// constant string. class name, predefined method & co -#define AUTO_FILE_NAME "auto.p" +#define AUTO_FILE_NAME "/auto.p" #define CONTENT_TYPE_NAME "content-type" #define BODY_NAME "body" @@ -55,7 +55,7 @@ struct Service_funcs { /// get env const char *(*get_env)(Pool& pool, const char *name); /// read POST request bytes - int (*read_post)(Pool& pool, char *buf, int max_bytes); + uint (*read_post)(Pool& pool, char *buf, uint max_bytes); /// add response header attribute void (*add_header_attribute)(Pool& pool, const char *key, const char *value); /// add response header attribute