Apache2
Collaboration diagram for Config Tree Package:

Data Structures

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

Typedefs

typedef struct ap_directive_t ap_directive_t
 

Functions

ap_directive_tap_add_node (ap_directive_t **parent, ap_directive_t *current, ap_directive_t *toadd, int child)
 

Variables

AP_DECLARE_DATA ap_directive_tap_conftree
 

Detailed Description

Typedef Documentation

◆ ap_directive_t

Function Documentation

◆ ap_add_node()

ap_directive_t* ap_add_node ( ap_directive_t **  parent,
ap_directive_t current,
ap_directive_t toadd,
int  child 
)

Add a node to the configuration tree.

Parameters
parentThe current parent node. If the added node is a first_child, then this is changed to the current node
currentThe current node
toaddThe node to add to the tree
childIs the node to add a child node
Returns
the added node

Variable Documentation

◆ ap_conftree

AP_DECLARE_DATA ap_directive_t* ap_conftree
extern

The root of the configuration tree