Apache2
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
33 extern "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 
63 AP_DECLARE(int) ap_find_path_info(const char *uri, const char *path_info);
64 
72 
79 
97 
115  char *buffer, int module_index);
116 
117 
136  char *buffer);
137 
156  char *buffer,
157  int module_index);
158 
180  char *buffer,
181  const char **termch,
182  int *termarg, ...)
184 
207  char *buffer,
208  int module_index,
209  const char **termch,
210  int *termarg, ...)
212 
213 
232  int (*getsfunc) (char *, int, void *),
233  void *getsfunc_data);
234 
254  int (*getsfunc) (char *, int, void *),
255  void *getsfunc_data, int module_index);
256 
257 
267 
268 #ifdef __cplusplus
269 }
270 #endif
271 
272 #endif /* !APACHE_UTIL_SCRIPT_H */
Symbol export macros and hook functions.
#define AP_FN_ATTR_SENTINEL
Definition: ap_config.h:231
APR-UTIL Buckets/Bucket Brigades.
void ap_add_common_vars(request_rec *r)
int ap_scan_script_header_err_strs_ex(request_rec *r, char *buffer, int module_index, const char **termch, int *termarg,...) AP_FN_ATTR_SENTINEL
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(request_rec *r, char *buffer, const char **termch, int *termarg,...) AP_FN_ATTR_SENTINEL
void ap_args_to_table(request_rec *r, apr_table_t **table)
request_rec * r
Definition: mod_dav.h:518
apr_bucket_brigade * bb
Definition: mod_dav.h:555
const char const char * uri
Definition: mod_dav.h:631
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
#define AP_DECLARE(x)
Definition: macros.h:1
#define AP_DECLARE_NONSTD(x)
Definition: macros.h:2
Definition: apr_buckets.h:263
Definition: apr_arch_file_io.h:107
A structure that represents the current request.
Definition: httpd.h:856
apr_pool_t * p