Differences between revisions 1 and 2
Revision 1 as of 2009-01-25 22:22:09
Size: 537
Editor: jak-581a
Comment: initial creation with ap_set_flag_slot
Revision 2 as of 2009-09-20 22:13:17
Size: 537
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

ap_set_flag_slot

This sets a field within a structure to either 1 or 0.

Example

AP_INIT_FLAG(
             "ModExampleFlag",
             ap_set_flag_slot,
             (void *)APR_OFFSETOF(mod_example_config_rec, someFlag),
             RSRC_CONF,
             "Description of this directive"
            )

Display

This directive would set the field named someFlag within the struct mod_example_config_rec to either 0 or 1 based on the value specified in the Apache configuration files.

ModuleConfigHelperAPI (last edited 2009-09-20 22:13:17 by localhost)