Apache HTTPD
Public Attributes | List of all members
ap_directive_t Struct Reference

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

#include <util_cfgtree.h>

Public Attributes

const chardirective
 
const charargs
 
struct ap_directive_tnext
 
struct ap_directive_tfirst_child
 
struct ap_directive_tparent
 
void * data
 
const charfilename
 
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.

Definition at line 46 of file util_cfgtree.h.

Member Data Documentation

◆ args

const char* ap_directive_t::args

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

Definition at line 51 of file util_cfgtree.h.

◆ data

void* ap_directive_t::data

directive's module can store add'l data here

Definition at line 60 of file util_cfgtree.h.

◆ directive

const char* ap_directive_t::directive

The current directive

Definition at line 48 of file util_cfgtree.h.

◆ filename

const char* ap_directive_t::filename

The name of the file this directive was found in

Definition at line 64 of file util_cfgtree.h.

◆ first_child

struct ap_directive_t* ap_directive_t::first_child

The first child node of this directive

Definition at line 55 of file util_cfgtree.h.

◆ 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

Definition at line 73 of file util_cfgtree.h.

◆ line_num

int ap_directive_t::line_num

The line number the directive was on

Definition at line 66 of file util_cfgtree.h.

◆ next

struct ap_directive_t* ap_directive_t::next

The next directive node in the tree

Definition at line 53 of file util_cfgtree.h.

◆ parent

struct ap_directive_t* ap_directive_t::parent

The parent node of this directive

Definition at line 57 of file util_cfgtree.h.


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