Apache2
Module structure initializers
Collaboration diagram for Module structure initializers:

Macros

#define STANDARD_MODULE_STUFF   this_module_needs_to_be_ported_to_apache_2_0
 
#define STANDARD20_MODULE_STUFF
 
#define MPM20_MODULE_STUFF
 

Detailed Description

Initializer for the first few module slots, which are only really set up once we start running. Note that the first two slots provide a version check; this should allow us to deal with changes to the API. The major number should reflect changes to the API handler table itself or removal of functionality. The minor number should reflect additions of functionality to the existing API. (the server can detect an old-format module, and either handle it back-compatibly, or at least signal an error). See src/include/ap_mmn.h for MMN version history.

Macro Definition Documentation

◆ MPM20_MODULE_STUFF

#define MPM20_MODULE_STUFF
Value:
MODULE_MAGIC_NUMBER_MINOR, \
-1, \
__FILE__, \
NULL, \
NULL, \
MODULE_MAGIC_COOKIE
#define MODULE_MAGIC_NUMBER_MAJOR
Definition: ap_mmn.h:729

Use this only in MPMs

◆ STANDARD20_MODULE_STUFF

#define STANDARD20_MODULE_STUFF
Value:
MODULE_MAGIC_NUMBER_MINOR, \
-1, \
__FILE__, \
NULL, \
NULL, \
MODULE_MAGIC_COOKIE, \
NULL /* rewrite args spot */

Use this in all standard modules

◆ STANDARD_MODULE_STUFF

#define STANDARD_MODULE_STUFF   this_module_needs_to_be_ported_to_apache_2_0

The one used in Apache 1.3, which will deliberately cause an error