|
|
| version 1.1.2.4, 2003/07/23 12:10:09 | version 1.5, 2003/09/02 06:59:40 |
|---|---|
| Line 45 static const char* cmd_parser_status_all | Line 45 static const char* cmd_parser_status_all |
| //_asm int 3; | //_asm int 3; |
| Parser_module_config *cfg = (Parser_module_config *) mconfig; | Parser_module_config *cfg = (Parser_module_config *) mconfig; |
| cfg->parser_status_allowed=true; | cfg->parser_status_allowed=1; |
| return NULL; | return NULL; |
| } | } |
| Line 109 static const char* cmd_parser_status_all | Line 109 static const char* cmd_parser_status_all |
| static int parser_handler(request_rec *ar) { | static int parser_handler(request_rec *ar) { |
| // record clone | // record clone |
| struct pa_request_rec lr={ | pa_request_rec lr={ |
| ar, | ar, |
| ar->pool, | ar->pool, |
| ar->header_only, | ar->header_only, |
| ar->status, | &ar->status, |
| ar->method, | ar->method, |
| ar->headers_out, | ar->headers_out, |
| ar->subprocess_env, | ar->subprocess_env, |
| Line 448 module MODULE_VAR_EXPORT parser3_module | Line 448 module MODULE_VAR_EXPORT parser3_module |
| void pa_ap_log_rerror(const char *file, int line, int level, | void pa_ap_log_rerror(const char *file, int line, int level, |
| const pa_request_rec *s, const char *fmt, ...) { | const pa_request_rec *s, const char *fmt, ...) { |
| const char* str; | |
| va_list l; | va_list l; |
| va_start(l, fmt); | va_start(l, fmt); |
| const char* str=va_arg(l, const char*); | str=va_arg(l, const char*); |
| va_end(l); | va_end(l); |
| ap_log_rerror(file, line, level, | ap_log_rerror(file, line, level, |
| Line 460 void pa_ap_log_rerror(const char *file, | Line 461 void pa_ap_log_rerror(const char *file, |
| void pa_ap_log_error(const char *file, int line, int level, | void pa_ap_log_error(const char *file, int line, int level, |
| const pa_server_rec *s, const char *fmt, ...) { | const pa_server_rec *s, const char *fmt, ...) { |
| const char* str; | |
| va_list l; | va_list l; |
| va_start(l, fmt); | va_start(l, fmt); |
| const char* str=va_arg(l, const char*); | str=va_arg(l, const char*); |
| va_end(l); | va_end(l); |
| ap_log_error(file, line, level, | ap_log_error(file, line, level, |
| Line 471 void pa_ap_log_error(const char *file, i | Line 473 void pa_ap_log_error(const char *file, i |
| // ap_alloc.h | // ap_alloc.h |
| const char * pa_ap_table_get(const pa_table *, const char *); | const char* pa_ap_table_get(const pa_table *t, const char *name) { |
| void pa_ap_table_addn(pa_table *, const char *name, const char *val); | return ap_table_get((const table*)t, name); |
| } | |
| void pa_ap_table_addn(pa_table *t, const char *name, const char *val) { | |
| ap_table_addn((table*)t, name, val); | |
| } | |
| int pa_ap_table_size(const pa_table *t) { | int pa_ap_table_size(const pa_table *t) { |
| return ap_table_elts((const table*)t)->nelts; | return ap_table_elts((const table*)t)->nelts; |
| Line 500 long pa_ap_get_client_block(pa_request_r | Line 506 long pa_ap_get_client_block(pa_request_r |
| return ap_get_client_block((request_rec*)r->real_request_rec, | return ap_get_client_block((request_rec*)r->real_request_rec, |
| buffer, bufsiz); | buffer, bufsiz); |
| } | } |
| void pa_ap_send_http_header(pa_request_rec *l); | void pa_ap_send_http_header(pa_request_rec *r) { |
| ap_send_http_header((request_rec*)r->real_request_rec); | |
| } | |
| int pa_ap_rwrite(const void *buf, int nbyte, pa_request_rec *r) { | int pa_ap_rwrite(const void *buf, int nbyte, pa_request_rec *r) { |
| return ap_rwrite(buf, nbyte, (request_rec*)r->real_request_rec); | return ap_rwrite(buf, nbyte, (request_rec*)r->real_request_rec); |
| } | } |
| Line 531 void pa_ap_add_common_vars(pa_request_re | Line 539 void pa_ap_add_common_vars(pa_request_re |
| // ap_md5.h | // ap_md5.h |
| void pa_MD5Init(AP_MD5_CTX *context) { ap_MD5Init((AP_MD5_CTX*)context); } | void pa_MD5Init(PA_MD5_CTX *context) { ap_MD5Init((AP_MD5_CTX*)context); } |
| void pa_MD5Update(AP_MD5_CTX *context, const unsigned char *input, | void pa_MD5Update(PA_MD5_CTX *context, const unsigned char *input, |
| unsigned int inputLen) { ap_MD5Update((AP_MD5_CTX *)context, input, inputLen); } | unsigned int inputLen) { ap_MD5Update((AP_MD5_CTX *)context, input, inputLen); } |
| void pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE], | void pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE], |
| AP_MD5_CTX *context) { ap_MD5Final(digest, (AP_MD5_CTX *)context); } | PA_MD5_CTX *context) { ap_MD5Final(digest, (AP_MD5_CTX *)context); } |
| void pa_MD5Encode(const unsigned char *password, | void pa_MD5Encode(const unsigned char *password, |
| const unsigned char *salt, | const unsigned char *salt, |
| char *result, size_t nbytes) { ap_MD5Encode(password, salt, result, nbytes); } | char *result, size_t nbytes) { ap_MD5Encode(password, salt, result, nbytes); } |