5 void yyerror (char const *);
25 } st; /* subtree type */
28 struct tree* c; /* condition */
29 struct tree* i; /* if */
30 struct tree* e; /* else */
37 JUST_BOOL /* value only in left, no op */
42 } cond; /* binary operator */
78 struct tree* input_tree;
81 #define CC(a,b) ((a<<8)|b)
82 void* xmalloc(size_t size);
83 void* xrealloc(void* buf, size_t size);
84 char* xstrdup(const char* s);
85 void __attribute__ ((noreturn)) die(char* msg, ...);
86 void read_conf(char* filename);
146 int res; /* result */
150 int res; /* result */
168 struct list input_code;
169 struct list* var_hash;
172 int temp_varcode_start;
180 void compile(struct tree* t, struct list* where);
181 int find_var(char* name, struct list* hash);
182 int store_const(char* c);
183 struct list* new_var_hash(void);
184 int get_bucket_number(char* name);
185 void print_code(void);
196 struct list* headers;
203 void save_current_headers(struct list* hash);
204 void print_vars(struct list* hash);
205 void interp(struct list* ins, struct list* hash);
206 void free_string(char* c);
209 char* default_mailbox;
211 struct list* current_headers;
212 struct email* current_body;
213 struct list* make_hlist(void);
214 void print_headers(struct list* l);
215 struct email* get_body(void);
216 int deliver_local_email(char* folder, struct email* email);
217 int write_email_to_fd(int fd, struct email* email);
220 void save_gids(void);
221 void close_mailbox(int fd, char* path, int is_default_mailbox);
222 int open_mailbox(char* path, int is_default_mailbox);
223 char* cat(char* l, char* r);