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);
101 char* default_mailbox;
103 struct list* current_headers;
104 struct email* current_body;
105 struct list* make_hlist(void);
106 void print_headers(struct list* l);
107 void do_action(struct action* a);
108 struct email* get_body(void);
111 void save_gids(void);
112 void close_mailbox(int fd, char* path, int is_default_mailbox);
113 int open_mailbox(char* path, int is_default_mailbox);
114 char* cat(char* l, char* r);
147 struct list input_code;
148 struct list* var_hash;
152 int cur_const_n, cur_const_s;
155 void compile(struct tree* t);
156 void print_code(struct tree* t);