projects
/
monky
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use the builtin config also as a default one
[monky]
/
src
/
mail.h
1
#ifndef _MAIL_H_
2
#define _MAIL_H_
3
4
extern char *current_mail_spool;
5
6
struct local_mail_s {
7
char *box;
8
int mail_count;
9
int new_mail_count;
10
float interval;
11
time_t last_mtime;
12
double last_update;
13
};
14
15
void update_mail_count(struct local_mail_s *);
16
17
#define POP3_TYPE 1
18
#define IMAP_TYPE 2
19
20
struct mail_s *parse_mail_args(char type, const char *arg);
21
void *imap_thread(void *arg);
22
void *pop3_thread(void *arg);
23
24
#endif /* _MAIL_H_ */