Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Collaboration diagram for MPM query:

Modules

 Query codes for ap_mpm_query()
 
 Subtypes/Values returned for AP_MPMQ_IS_THREADED and AP_MPMQ_IS_FORKED
 
 Values returned for AP_MPMQ_MPM_STATE
 

Functions

apr_status_t ap_mpm_query (int query_code, int *result)
 

Detailed Description

Function Documentation

int ap_mpm_query ( int  query_code,
int result 
)

Query a property of the current MPM.

Parameters
query_codeOne of AP_MPMQ_*
resultA location to place the result of the query
Returns
APR_EGENERAL if an mpm-query hook has not been registered; APR_SUCCESS or APR_ENOTIMPL otherwise
Remarks
The MPM doesn't register the implementing hook until the register_hooks hook is called, so modules cannot use ap_mpm_query() until after that point.