Incase anyone was wondering, to make httpd -V work, this is the minimal API that you must implement in a new MPM:

Variables:
ap_generation_t volatile ap_my_generation = 0;
server_rec *ap_server_conf = NULL;
module AP_MODULE_DECLARE_DATA mpm_mympm_module;

Functions:
int ap_mpm_run(apr_pool_t *pconf,
               apr_pool_t *plog,
               server_rec *s);
apr_status_t ap_mpm_query(int query_code, int *result);
int ap_graceful_stop_signalled();

The only one that seems really out of place, is ap_graceful_stop_signalled.

Its name.. is wrong.

Anyone care if I rename/refactor it?

Thoughts?

Thanks,

Paul

Reply via email to