Apache HTTPD
Macros
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:
-1, \
NULL, \
NULL, \
#define MODULE_MAGIC_COOKIE
Definition ap_mmn.h:608
#define MODULE_MAGIC_NUMBER_MAJOR
Definition ap_mmn.h:611
#define MODULE_MAGIC_NUMBER_MINOR
Definition ap_mmn.h:613
apr_size_t size
return NULL
Definition mod_so.c:359

Use this only in MPMs

Definition at line 496 of file http_config.h.

◆ STANDARD20_MODULE_STUFF

#define STANDARD20_MODULE_STUFF
Value:

Use this in all standard modules

Definition at line 486 of file http_config.h.

◆ STANDARD_MODULE_STUFF

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

Definition at line 483 of file http_config.h.