Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

ap_mmn.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Module

Defines

#define MODULE_MAGIC_COOKIE   0x41503230UL
#define MODULE_MAGIC_NUMBER_MAJOR   20020903
#define MODULE_MAGIC_NUMBER_MINOR   9
#define AP_MODULE_MAGIC_AT_LEAST(major, minor)
#define MODULE_MAGIC_NUMBER   MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_AT_LEAST   old_broken_macro_we_hope_you_are_not_using


Define Documentation

#define AP_MODULE_MAGIC_AT_LEAST major,
minor   ) 
 

Value:

Determine if the server's current MODULE_MAGIC_NUMBER is at least a specified value.
 Useful for testing for features.
 For example, suppose you wish to use the apr_table_overlap
    function.  You can do this:

 #if AP_MODULE_MAGIC_AT_LEAST(19980812,2)
     ... use apr_table_overlap()
 #else
     ... alternative code which doesn't use apr_table_overlap()
 #endif
 
Parameters:
major The major module magic number
minor The minor module magic number AP_MODULE_MAGIC_AT_LEAST(int major, int minor)

Definition at line 113 of file ap_mmn.h.

#define MODULE_MAGIC_AT_LEAST   old_broken_macro_we_hope_you_are_not_using
 

Definition at line 120 of file ap_mmn.h.

#define MODULE_MAGIC_COOKIE   0x41503230UL
 

Definition at line 88 of file ap_mmn.h.

Referenced by load_module().

#define MODULE_MAGIC_NUMBER   MODULE_MAGIC_NUMBER_MAJOR
 

Deprecated:
present for backwards compatibility

Definition at line 119 of file ap_mmn.h.

Referenced by ssl_var_lookup().

#define MODULE_MAGIC_NUMBER_MAJOR   20020903
 

Definition at line 91 of file ap_mmn.h.

Referenced by display_info(), lookup_variable(), and show_compile_settings().

#define MODULE_MAGIC_NUMBER_MINOR   9
 

Definition at line 93 of file ap_mmn.h.

Referenced by display_info(), lookup_variable(), and show_compile_settings().