30 |
#define LOG_ACTION 5 |
#define LOG_ACTION 5 |
31 |
#define LOG_DESTINATION_MAILBOX 6 |
#define LOG_DESTINATION_MAILBOX 6 |
32 |
|
|
|
|
|
33 |
/* Buffer size of the the IMAP command. */ |
/* Buffer size of the the IMAP command. */ |
34 |
#define SMALL_CMD 64 |
#define SMALL_CMD 64 |
35 |
#define MEDIUM_CMD 256 |
#define MEDIUM_CMD 256 |
83 |
int imap_expunge(void); |
int imap_expunge(void); |
84 |
|
|
85 |
/* log.c */ |
/* log.c */ |
86 |
void info(const char *info, ...); |
void info(const char *info,...); |
87 |
void verbose(const char *info, ...); |
void verbose(const char *info,...); |
88 |
void error(const char *errmsg, ...); |
void error(const char *errmsg,...); |
89 |
void fatal(unsigned int errnum, const char *fatal, ...); |
void fatal(unsigned int errnum, const char *fatal,...); |
90 |
int open_logfile(void); |
int open_logfile(void); |
91 |
int create_logfile(void); |
int create_logfile(void); |
92 |
int close_logfile(void); |
int close_logfile(void); |
93 |
void log_info(int flag, void *ptr); |
void log_info(int flag, void *ptr); |
94 |
char *get_time(void); |
char *get_time(void); |
95 |
|
|
96 |
|
/* memory.c */ |
97 |
|
void *xmalloc(size_t size); |
98 |
|
char *xstrdup(const char *s); |
99 |
|
|
100 |
/* request.c */ |
/* request.c */ |
101 |
int test(void); |
int test(void); |
102 |
int login(char *user, char *pass); |
int login(char *user, char *pass); |
132 |
int copy_response(void); |
int copy_response(void); |
133 |
int analyze_response(char *buf); |
int analyze_response(char *buf); |
134 |
|
|
135 |
#endif /* IMAPFILTER_H */ |
#endif /* IMAPFILTER_H */ |