1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- #ifndef AP_CONFTREE_H
- #define AP_CONFTREE_H
- #include "ap_config.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef struct ap_directive_t ap_directive_t;
- struct ap_directive_t {
-
- const char *directive;
-
- const char *args;
-
- struct ap_directive_t *next;
-
- struct ap_directive_t *first_child;
-
- struct ap_directive_t *parent;
-
- void *data;
-
-
- const char *filename;
-
- int line_num;
-
- struct ap_directive_t *last;
- };
- AP_DECLARE_DATA extern ap_directive_t *ap_conftree;
- ap_directive_t *ap_add_node(ap_directive_t **parent, ap_directive_t *current,
- ap_directive_t *toadd, int child);
- #ifdef __cplusplus
- }
- #endif
- #endif
|