1 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
6 #include "timed_thread.h"
9 extern char *current_mail_spool;
11 struct mail_s { // for imap and pop3
13 unsigned long messages;
25 timed_thread *p_timed_thread;
34 int unseen_mail_count;
35 int flagged_mail_count;
36 int unflagged_mail_count;
37 int forwarded_mail_count;
38 int unforwarded_mail_count;
39 int replied_mail_count;
40 int unreplied_mail_count;
42 int trashed_mail_count;
48 void update_mail_count(struct local_mail_s *);
53 struct mail_s *parse_mail_args(char type, const char *arg);
54 void *imap_thread(void *arg);
55 void *pop3_thread(void *arg);