6 |
* Size of buffers that holds the results of responses to IMAP client |
* Size of buffers that holds the results of responses to IMAP client |
7 |
* requests. |
* requests. |
8 |
*/ |
*/ |
9 |
#define SELECT_BUF 8 |
#define STATUS_BUF 8 |
10 |
#define SEARCH_BUF 512 |
#define SEARCH_BUF 512 |
11 |
|
|
12 |
|
|
14 |
int close_connection(void); |
int close_connection(void); |
15 |
int get_response(char *buf); |
int get_response(char *buf); |
16 |
int clear_stream(void); |
int clear_stream(void); |
17 |
int select_response(void); |
int status_response(void); |
18 |
int search_response(char *res); |
int search_response(char *res); |
19 |
int fetch_response(char *res); |
int fetch_response(char *res); |
20 |
void analyze_response(char *buf); |
void analyze_response(char *buf); |