4 #include "timed_thread.h"
7 extern char *current_mail_spool;
9 struct mail_s { // for imap and pop3
11 unsigned long messages;
23 timed_thread *p_timed_thread;
32 int unseen_mail_count;
33 int flagged_mail_count;
34 int unflagged_mail_count;
35 int forwarded_mail_count;
36 int unforwarded_mail_count;
37 int replied_mail_count;
38 int unreplied_mail_count;
40 int trashed_mail_count;
46 void update_mail_count(struct local_mail_s *);
51 struct mail_s *parse_mail_args(char type, const char *arg);
52 void *imap_thread(void *arg);
53 void *pop3_thread(void *arg);