Apache2
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
 
void * data
 
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

◆ args

const char* ap_directive_t::args

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

◆ data

void* ap_directive_t::data

directive's module can store add'l data here

◆ directive

const char* ap_directive_t::directive

The current directive

◆ filename

const char* ap_directive_t::filename

The name of the file this directive was found in

◆ first_child

struct ap_directive_t* ap_directive_t::first_child

The first child node of this directive

◆ last

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

◆ line_num

int ap_directive_t::line_num

The line number the directive was on

◆ next

struct ap_directive_t* ap_directive_t::next

The next directive node in the tree

◆ parent

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: