Definition:
int ap_allow_options(request_rec *r);
Usage example:
request_rec *r;
int result;
result = ap_allow_options(r);
if (result & OPT_INCLUDES) {
/* Do something meaningful and Includes-related */
}
This routine returns a list of the options that are allowed for
the specified request, specified as a bitmask. Use the various
OPT_* constants (such as OPT_MULTI)
to mask out specific bits. Note that when checking
OPT_NONE, you should check the return value for
equality, and that for OPT_ALL you should perform
a bitwise AND and compare the result against OPT_ALL
to ensure that all of the bits are set.
Previous: ap_add_version_component
Next: ap_allow_overrides
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)