Apache HTTPD
framework
httpd-2.4.62
modules
generators
mod_cgi.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 _MOD_CGI_H
27
#define _MOD_CGI_H 1
28
29
#include "
mod_include.h
"
30
31
typedef
enum
{
RUN_AS_SSI
,
RUN_AS_CGI
}
prog_types
;
32
33
typedef
struct
{
34
apr_int32_t
in_pipe
;
35
apr_int32_t
out_pipe
;
36
apr_int32_t
err_pipe
;
37
int
process_cgi
;
38
apr_cmdtype_e
cmd_type
;
39
apr_int32_t
detached
;
40
prog_types
prog_type
;
41
apr_bucket_brigade
**
bb
;
42
include_ctx_t
*
ctx
;
43
ap_filter_t
*
next
;
44
apr_int32_t
addrspace
;
45
}
cgi_exec_info_t
;
46
60
APR_DECLARE_OPTIONAL_FN
(
apr_status_t
,
ap_cgi_build_command
,
61
(
const
char
**
cmd
,
const
char
***
argv
,
62
request_rec
*
r
,
apr_pool_t
*
p
,
63
cgi_exec_info_t
*
e_info
));
64
65
#endif
/* _MOD_CGI_H */
r
request_rec * r
Definition
http_config.h:1168
APR_DECLARE_OPTIONAL_FN
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition
apr_optional.h:50
prog_types
prog_types
Definition
mod_cgi.h:31
RUN_AS_SSI
@ RUN_AS_SSI
Definition
mod_cgi.h:31
RUN_AS_CGI
@ RUN_AS_CGI
Definition
mod_cgi.h:31
size
apr_size_t size
Definition
apr_allocator.h:115
apr_status_t
int apr_status_t
Definition
apr_errno.h:44
cmd
apr_cmdtype_e cmd
Definition
apr_thread_proc.h:495
apr_cmdtype_e
apr_cmdtype_e
Definition
apr_thread_proc.h:46
p
apr_pool_t * p
Definition
md_event.c:32
mod_include.h
Server Side Include Filter Extension Module for Apache.
argv
const char * argv[3]
Definition
mod_mime_magic.c:2049
ap_filter_t
The representation of a filter chain.
Definition
util_filter.h:259
apr_bucket_brigade
Definition
apr_buckets.h:258
apr_pool_t
Definition
apr_pools.c:562
cgi_exec_info_t
Definition
mod_cgi.h:33
cgi_exec_info_t::next
ap_filter_t * next
Definition
mod_cgi.h:43
cgi_exec_info_t::in_pipe
apr_int32_t in_pipe
Definition
mod_cgi.h:34
cgi_exec_info_t::detached
apr_int32_t detached
Definition
mod_cgi.h:39
cgi_exec_info_t::process_cgi
int process_cgi
Definition
mod_cgi.h:37
cgi_exec_info_t::out_pipe
apr_int32_t out_pipe
Definition
mod_cgi.h:35
cgi_exec_info_t::ctx
include_ctx_t * ctx
Definition
mod_cgi.h:42
cgi_exec_info_t::addrspace
apr_int32_t addrspace
Definition
mod_cgi.h:44
cgi_exec_info_t::err_pipe
apr_int32_t err_pipe
Definition
mod_cgi.h:36
cgi_exec_info_t::bb
apr_bucket_brigade ** bb
Definition
mod_cgi.h:41
cgi_exec_info_t::prog_type
prog_types prog_type
Definition
mod_cgi.h:40
cgi_exec_info_t::cmd_type
apr_cmdtype_e cmd_type
Definition
mod_cgi.h:38
include_ctx_t
Definition
mod_include.h:69
request_rec
A structure that represents the current request.
Definition
httpd.h:845
Generated by
1.9.8