/[imapfilter]/imapfilter/imap.h
ViewVC logotype

Contents of /imapfilter/imap.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Aug 11 15:54:57 2001 UTC (22 years, 7 months ago) by lefcha
Branch: MAIN
Changes since 1.1: +4 -2 lines
File MIME type: text/plain
Added ALLOW type filters

1 /* Size of buffer that holds the IMAP command to be sent. */
2 #define SMALL_COMMAND_MAX 64
3 #define MEDIUM_COMMAND_MAX 256
4 #define BIG_COMMAND_MAX 8192
5
6 /* Number of messages that match the filters and are to be deleted. */
7 #define MESSAGES_MAX 128
8
9 /*
10 * Size of buffer that holds the DATE, FROM and SUBJECT headers of the
11 * message to be deleted.
12 */
13 #define HEADERS_MAX 1024
14
15 int send_command(char *command);
16 int send_command_get_response(char *command);
17 #ifdef DEBUG
18 int imap_noop(void);
19 #endif
20 int imap_logout(void);
21 int imap_login(void);
22 int imap_select(void);
23 int imap_search(void);
24 int imap_fetch(unsigned int m, char *results);
25 int imap_store(unsigned int m);
26 int imap_expunge(void);
27 void generate_search_filters(char *command);
28 void delete_messages(char *unwanted);

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26