src/modules/db/stack/stack.h
raw| 1 | |
| 2 | #ifndef CDEBCONF_DB_STACK |
| 3 | #define CDEBCONF_DB_STACK |
| 4 | |
| 5 | struct question_stack { |
| 6 | struct question_db *db; |
| 7 | struct question_stack *next; |
| 8 | }; |
| 9 | |
| 10 | struct template_stack { |
| 11 | struct template_db *db; |
| 12 | struct template_stack *next; |
| 13 | }; |
| 14 | |
| 15 | struct question_stack_iterator { |
| 16 | struct question_stack *stack; |
| 17 | void *child_iterator; |
| 18 | }; |
| 19 | |
| 20 | struct template_stack_iterator { |
| 21 | struct template_stack *stack; |
| 22 | void *child_iterator; |
| 23 | }; |
| 24 | |
| 25 | #endif |