00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00026 #ifndef APACHE_UTIL_SCRIPT_H
00027 #define APACHE_UTIL_SCRIPT_H
00028
00029 #include "apr_buckets.h"
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00035 #ifndef APACHE_ARG_MAX
00036 #ifdef _POSIX_ARG_MAX
00037 #define APACHE_ARG_MAX _POSIX_ARG_MAX
00038 #else
00039 #define APACHE_ARG_MAX 512
00040 #endif
00041 #endif
00042
00051 AP_DECLARE(char **) ap_create_environment(apr_pool_t *p, apr_table_t *t);
00052
00062 AP_DECLARE(int) ap_find_path_info(const char *uri, const char *path_info);
00063
00070 AP_DECLARE(void) ap_add_cgi_vars(request_rec *r);
00071
00077 AP_DECLARE(void) ap_add_common_vars(request_rec *r);
00078
00090 AP_DECLARE(int) ap_scan_script_header_err(request_rec *r, apr_file_t *f, char *buffer);
00091
00103 AP_DECLARE(int) ap_scan_script_header_err_brigade(request_rec *r,
00104 apr_bucket_brigade *bb,
00105 char *buffer);
00106
00121 AP_DECLARE_NONSTD(int) ap_scan_script_header_err_strs(request_rec *r,
00122 char *buffer,
00123 const char **termch,
00124 int *termarg, ...);
00125
00139 AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer,
00140 int (*getsfunc) (char *, int, void *),
00141 void *getsfunc_data);
00142
00143 #ifdef __cplusplus
00144 }
00145 #endif
00146
00147 #endif
00148