249 |
int close_mailbox(int *sock); |
int close_mailbox(int *sock); |
250 |
int logout(int *sock); |
int logout(int *sock); |
251 |
|
|
252 |
int apply_filters(filter_t ** filters); |
int apply_filters(char *mbox, filter_t ** filters); |
253 |
int match_filter(filter_t * filter, char **mesgs); |
int match_filter(filter_t * filter, char **mesgs); |
254 |
|
|
255 |
void empty_fifo(mask_t ** mfifo); |
void empty_fifo(mask_t ** mfifo); |
259 |
char *generate_filter_and(mask_t * mask, unsigned int masknum, unsigned int masklen); |
char *generate_filter_and(mask_t * mask, unsigned int masknum, unsigned int masklen); |
260 |
char *generate_filter_or(mask_t * mask, unsigned int masknum, unsigned int masklen); |
char *generate_filter_or(mask_t * mask, unsigned int masknum, unsigned int masklen); |
261 |
|
|
262 |
int apply_action(char *mesgs, unsigned int *type, account_t * raccount, char *destmbox, unsigned int *msgflags, char *args); |
int apply_action(char *mbox, char *mesgs, unsigned int *type, account_t * raccount, char *destmbox, unsigned int *msgflags, char *args); |
263 |
int action_delete(char *mesgs, char *args); |
int action_delete(char *mesgs, char *args); |
264 |
int action_copy(char *mesgs, char *destmbox, char *args); |
int action_copy(char *mbox, char *mesgs, char *destmbox, char *args); |
265 |
int action_move(char *mesgs, char *destmbox, char *args); |
int action_move(char *mbox, char *mesgs, char *destmbox, char *args); |
266 |
int action_rcopy(char *mesgs, account_t * destacc, char *destmbox, char *args); |
int action_rcopy(char *mbox, char *mesgs, account_t * destacc, char *destmbox, char *args); |
267 |
int action_rmove(char *mesgs, account_t * destacc, char *destmbox, char *args); |
int action_rmove(char *mbox, char *mesgs, account_t * destacc, char *destmbox, char *args); |
268 |
int action_flag(char *mesgs, unsigned int *type, unsigned int *msgflags, char *args); |
int action_flag(char *mesgs, unsigned int *type, unsigned int *msgflags, char *args); |
269 |
int action_list(char *mesgs, char *args); |
int action_list(char *mesgs, char *args); |
270 |
|
|
273 |
int substitute_date(char *str); |
int substitute_date(char *str); |
274 |
void current_date(char *destmbox); |
void current_date(char *destmbox); |
275 |
void message_date(char *mesg, char *destmbox); |
void message_date(char *mesg, char *destmbox); |
276 |
|
void default_variables(char *mbox, char *destmbox); |
277 |
|
|
278 |
|
|
279 |
/* response.c */ |
/* response.c */ |