1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-19 19:45:15 +00:00
conky/src/mail.h

25 lines
435 B
C
Raw Normal View History

2008-12-14 02:53:05 +00:00
#ifndef _MAIL_H_
#define _MAIL_H_
extern char *current_mail_spool;
struct local_mail_s {
char *box;
int mail_count;
int new_mail_count;
float interval;
time_t last_mtime;
double last_update;
};
void update_mail_count(struct local_mail_s *);
2008-12-14 02:53:05 +00:00
#define POP3_TYPE 1
#define IMAP_TYPE 2
struct mail_s *parse_mail_args(char type, const char *arg);
void *imap_thread(void *arg);
void *pop3_thread(void *arg);
#endif /* _MAIL_H_ */