5 void yyerror (char const *);
17 } st; /* subtree type */
20 struct tree* c; /* condition */
21 struct tree* i; /* if */
22 struct tree* e; /* else */
33 } cond; /* binary operator */
68 struct tree* input_tree;
71 #define CC(a,b) ((a<<8)|b)
72 void* xmalloc(size_t size);
73 void* xrealloc(void* buf, size_t size);
74 char* xstrdup(char* s);
75 void __attribute__ ((noreturn)) die(char* msg, ...);
76 void read_conf(char* filename);
106 struct list* var_hash;
108 void print_tree(struct tree* t, int ind);
109 void interp(struct tree* t, struct list* hash);
110 struct list* new_var_hash(void);
111 void print_vars(struct list* hash);
112 void save_current_headers(struct list* hash);
115 struct list* current_headers;
117 struct list* make_hlist(void);
118 void print_headers(struct list* l);
119 void do_action(struct action* a);
120 char* get_body(void);