Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ap_directive_t Struct Reference

Structure used to build the config tree. More...

#include <util_cfgtree.h>

Collaboration diagram for ap_directive_t:

Data Fields

const char * directive
 
const char * args
 
struct ap_directive_tnext
 
struct ap_directive_tfirst_child
 
struct ap_directive_tparent
 
voiddata
 
const char * filename
 
int line_num
 
struct ap_directive_tlast
 

Detailed Description

Structure used to build the config tree.

The config tree only stores the directives that will be active in the running server. Directives that contain other directions, such as <Directory ...> cause a sub-level to be created, where the included directives are stored. The closing directive (</Directory>) is not stored in the tree.

Field Documentation

const char* ap_directive_t::args

The arguments for the current directive, stored as a space separated list

void* ap_directive_t::data

directive's module can store add'l data here

const char* ap_directive_t::directive

The current directive

const char* ap_directive_t::filename

The name of the file this directive was found in

struct ap_directive_t* ap_directive_t::first_child

The first child node of this directive

struct ap_directive_t* ap_directive_t::last

A short-cut towards the last directive node in the tree. The value may not always be up-to-date but it always points to somewhere in the tree, nearer to the tail. This value is only set in the first node

int ap_directive_t::line_num

The line number the directive was on

struct ap_directive_t* ap_directive_t::next

The next directive node in the tree

struct ap_directive_t* ap_directive_t::parent

The parent node of this directive


The documentation for this struct was generated from the following file: