httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "ModuleConfigHelperAPI" by JoshBorke
Date Sun, 25 Jan 2009 22:22:10 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by JoshBorke:
http://wiki.apache.org/httpd/ModuleConfigHelperAPI

The comment on the change is:
initial creation with ap_set_flag_slot

New page:
== 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.

Mime
View raw message