Apache HTTPD
util_script.h
Go to the documentation of this file.
1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
26#ifndef APACHE_UTIL_SCRIPT_H
27#define APACHE_UTIL_SCRIPT_H
28
29#include "apr_buckets.h"
30#include "ap_config.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36#ifndef APACHE_ARG_MAX
37#ifdef _POSIX_ARG_MAX
38#define APACHE_ARG_MAX _POSIX_ARG_MAX
39#else
40#define APACHE_ARG_MAX 512
41#endif
42#endif
43
53
63AP_DECLARE(int) ap_find_path_info(const char *uri, const char *path_info);
64
72
79
92
105 char *buffer, int module_index);
106
107
121 char *buffer);
122
136 char *buffer,
137 int module_index);
138
155 char *buffer,
156 const char **termch,
157 int *termarg, ...)
159
177 char *buffer,
178 int module_index,
179 const char **termch,
180 int *termarg, ...)
182
183
197 int (*getsfunc) (char *, int, void *),
198 void *getsfunc_data);
199
214 int (*getsfunc) (char *, int, void *),
215 void *getsfunc_data, int module_index);
216
217
227
228#define AP_TRUST_CGILIKE_CL_ENVVAR "ap_trust_cgilike_cl"
229
230#ifdef __cplusplus
231}
232#endif
233
234#endif /* !APACHE_UTIL_SCRIPT_H */
Symbol export macros and hook functions.
#define AP_DECLARE_NONSTD(type)
Definition ap_config.h:77
#define AP_FN_ATTR_SENTINEL
Definition ap_config.h:185
#define AP_DECLARE(type)
Definition ap_config.h:67
APR-UTIL Buckets/Bucket Brigades.
request_rec * r
void ap_add_common_vars(request_rec *r)
int ap_scan_script_header_err_brigade_ex(request_rec *r, apr_bucket_brigade *bb, char *buffer, int module_index)
int ap_find_path_info(const char *uri, const char *path_info)
char ** ap_create_environment(apr_pool_t *p, apr_table_t *t)
void ap_add_cgi_vars(request_rec *r)
int ap_scan_script_header_err_ex(request_rec *r, apr_file_t *f, char *buffer, int module_index)
int ap_scan_script_header_err_brigade(request_rec *r, apr_bucket_brigade *bb, char *buffer)
int ap_scan_script_header_err_core_ex(request_rec *r, char *buffer, int(*getsfunc)(char *, int, void *), void *getsfunc_data, int module_index)
int ap_scan_script_header_err_core(request_rec *r, char *buffer, int(*getsfunc)(char *, int, void *), void *getsfunc_data)
int ap_scan_script_header_err(request_rec *r, apr_file_t *f, char *buffer)
int ap_scan_script_header_err_strs_ex(request_rec *r, char *buffer, int module_index, const char **termch, int *termarg,...)
void ap_args_to_table(request_rec *r, apr_table_t **table)
int ap_scan_script_header_err_strs(request_rec *r, char *buffer, const char **termch, int *termarg,...)
apr_file_t * f
const char * uri
Definition apr_uri.h:159
char * buffer
apr_interval_time_t t
apr_pool_t * p
Definition md_event.c:32
A structure that represents the current request.
Definition httpd.h:845