Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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

Use this only in MPMs

#define STANDARD20_MODULE_STUFF
Value:
-1, \
__FILE__, \
NULL, \
NULL, \
NULL /* rewrite args spot */
#define MODULE_MAGIC_NUMBER_MINOR
Definition: ap_mmn.h:559
#define MODULE_MAGIC_COOKIE
Definition: ap_mmn.h:554
#define MODULE_MAGIC_NUMBER_MAJOR
Definition: ap_mmn.h:557

Use this in all standard modules

#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