diff options
Diffstat (limited to 'include/util_cfgtree.h')
-rw-r--r-- | include/util_cfgtree.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/util_cfgtree.h b/include/util_cfgtree.h index 6a4a2f6f27..d8e5bc8c7d 100644 --- a/include/util_cfgtree.h +++ b/include/util_cfgtree.h @@ -58,10 +58,16 @@ typedef struct ap_directive_t { const char *directive; const char *args; - int line_num; struct ap_directive_t *next; struct ap_directive_t *first_child; struct ap_directive_t *parent; + + void *data; /* directive's module can store add'l data here */ + + /* ### these may go away in the future, but are needed for now */ + const char *filename; + int line_num; + } ap_directive_t; ap_directive_t *ap_add_node(ap_directive_t **parent, ap_directive_t *current, |