Apache 1.3 API Documentation

Constant cmd_how

Definition:

#include "httpd.h"
     

Usage example:

cmd_how is an enum, but the enumeration type isn't used
     by modules, only the specific named values.
     

A set of values designating how argument processing is done for a given instance of a command_rec. Note that for all of these values except RAW_ARGS, the config routine is passed a freshly allocated string which can be modified or stored. It's only necessary to do ap_pstrdup() copying with RAW_ARGS. The allowable values are:

<table> RAW_ARGS cmd_func parses command line itself TAKE1 one argument only TAKE2 two arguments only ITERATE one argument, occuring multiple times (e.g., IndexIgnore) ITERATE2 two arguments, 2nd occurs multiple times (e.g., AddIcon) FLAG One of 'On' or 'Off' NO_ARGS No arguments at all (e.g. </Directory>) TAKE12 one or two arguments TAKE3 three arguments only TAKE23 two or three arguments TAKE123 one, two or three arguments TAKE13 one or three arguments table>
See also:
FLAG, ITERATE, ITERATE2, NO_ARGS, RAW_ARGS, TAKE1, TAKE12, TAKE123, TAKE13, TAKE2, TAKE23, TAKE3

Previous: B_WRERR Next: CR

Table of Contents (Routines, Structures, Data Cells, Constants)