Apache2
|
Modules | |
MPM query | |
Macros | |
#define | AP_MONCONTROL(x) |
Typedefs | |
typedef void() | ap_mpm_callback_fn_t(void *baton) |
typedef enum mpm_child_status | mpm_child_status |
Enumerations | |
enum | mpm_child_status { MPM_CHILD_STARTED , MPM_CHILD_EXITED , MPM_CHILD_LOST_SLOT } |
Functions | |
apr_status_t | ap_os_create_privileged_process (const request_rec *r, apr_proc_t *newproc, const char *progname, const char *const *args, const char *const *env, apr_procattr_t *attr, apr_pool_t *p) |
apr_status_t | ap_mpm_resume_suspended (conn_rec *c) |
apr_status_t | ap_mpm_register_timed_callback (apr_time_t t, ap_mpm_callback_fn_t *cbfn, void *baton) |
apr_status_t | ap_mpm_register_poll_callback (apr_pool_t *p, const apr_array_header_t *pfds, ap_mpm_callback_fn_t *cbfn, void *baton) |
apr_status_t | ap_mpm_register_poll_callback_timeout (apr_pool_t *p, const apr_array_header_t *pfds, ap_mpm_callback_fn_t *cbfn, ap_mpm_callback_fn_t *tofn, void *baton, apr_time_t timeout) |
#define AP_MONCONTROL | ( | x | ) |
typedef void() ap_mpm_callback_fn_t(void *baton) |
typedef enum mpm_child_status mpm_child_status |
enum mpm_child_status |
apr_status_t ap_mpm_register_poll_callback | ( | apr_pool_t * | p, |
const apr_array_header_t * | pfds, | ||
ap_mpm_callback_fn_t * | cbfn, | ||
void * | baton | ||
) |
Register a callback on the readability or writability on a group of sockets/pipes.
p | Pool used by the MPM for its internal allocations |
pfds | Array of apr_pollfd_t |
cbfn | The callback function |
baton | userdata for the callback function |
apr_status_t ap_mpm_register_poll_callback_timeout | ( | apr_pool_t * | p, |
const apr_array_header_t * | pfds, | ||
ap_mpm_callback_fn_t * | cbfn, | ||
ap_mpm_callback_fn_t * | tofn, | ||
void * | baton, | ||
apr_time_t | timeout | ||
) |
Register a callback on the readability or writability on a group of sockets/pipes, with a timeout.
p | Pool used by the MPM for its internal allocations |
pfds | Array of apr_pollfd_t |
cbfn | The callback function |
tofn | The callback function if the timeout expires |
baton | userdata for the callback function |
timeout | timeout for I/O in microseconds, unlimited if <= 0 |
apr_status_t ap_mpm_register_timed_callback | ( | apr_time_t | t, |
ap_mpm_callback_fn_t * | cbfn, | ||
void * | baton | ||
) |
apr_status_t ap_mpm_resume_suspended | ( | conn_rec * | c | ) |
apr_status_t ap_os_create_privileged_process | ( | const request_rec * | r, |
apr_proc_t * | newproc, | ||
const char * | progname, | ||
const char *const * | args, | ||
const char *const * | env, | ||
apr_procattr_t * | attr, | ||
apr_pool_t * | p | ||
) |
Spawn a process with privileges that another module has requested
r | The request_rec of the current request |
newproc | The resulting process handle. |
progname | The program to run |
args | the arguments to pass to the new program. The first one should be the program name. |
env | The new environment apr_table_t for the new process. This should be a list of NULL-terminated strings. |
attr | the procattr we should use to determine how to create the new process |
p | The pool to use. |