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 */
69 struct tree* input_tree;
72 #define CC(a,b) ((a<<8)|b)
73 void* xmalloc(size_t size);
74 void* xrealloc(void* buf, size_t size);
75 char* xstrdup(char* s);
76 void __attribute__ ((noreturn)) die(char* msg, ...);
77 void read_conf(char* filename);
102 char* default_mailbox;
104 struct list* current_headers;
105 struct email* current_body;
106 struct list* make_hlist(void);
107 void print_headers(struct list* l);
108 void do_action(struct action* a);
109 struct email* get_body(void);
112 void save_gids(void);
113 void close_mailbox(int fd, char* path, int is_default_mailbox);
114 int open_mailbox(char* path, int is_default_mailbox);
115 char* cat(char* l, char* r);
141 int res; /* result */
155 struct list input_code;
156 struct list* var_hash;
158 int temp_varcode_start;
165 void compile(struct tree* t);
166 int find_var(char* name, struct list* hash);
167 int store_const(char* c);
168 struct list* new_var_hash(void);
169 void print_code(void);