11 |
#include "data.h" |
#include "data.h" |
12 |
#endif |
#endif |
13 |
|
|
14 |
|
/* Program's version number. */ |
15 |
|
#define IMAPFILTER_VERSION "0.8.4" |
16 |
|
|
17 |
/* Error codes returned by functions. */ |
/* Error codes returned by functions. */ |
18 |
#define ERROR_SIGNAL 1 |
#define ERROR_SIGNAL 1 |
19 |
#define ERROR_TRIVIAL 2 |
#define ERROR_TRIVIAL 2 |
142 |
|
|
143 |
/* imapfilter.c */ |
/* imapfilter.c */ |
144 |
void usage(void); |
void usage(void); |
145 |
|
void version(void); |
146 |
|
|
147 |
/* imap.c */ |
/* imap.c */ |
148 |
unsigned int send_command(int *sock, char *cmd); |
unsigned int send_command(int *sock, char *cmd); |
267 |
int status_response(int *sock, unsigned int tag, char *mbox); |
int status_response(int *sock, unsigned int tag, char *mbox); |
268 |
int select_response(int *sock, unsigned int tag); |
int select_response(int *sock, unsigned int tag); |
269 |
int search_response(int *sock, unsigned int tag, char **mesgs); |
int search_response(int *sock, unsigned int tag, char **mesgs); |
270 |
int fetch_response(int *sock, int reset, char *fetch); |
int fetch_response(int *sock, unsigned int tag, int reset, char *fetch); |
271 |
int fetchsize_response(int *sock, unsigned int *size, unsigned int tag); |
int fetchsize_response(int *sock, unsigned int *size, unsigned int tag); |
272 |
int append_response(int *sock, unsigned int tag); |
int append_response(int *sock, unsigned int tag); |
273 |
int copy_response(int *sock, unsigned int tag); |
int copy_response(int *sock, unsigned int tag); |