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

Contents of /imapfilter/imap.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations)
Sun Aug 26 12:26:59 2001 UTC (22 years, 7 months ago) by lefcha
Branch: MAIN
Changes since 1.5: +1 -0 lines
File MIME type: text/plain
Exist, recent, unseen messages found in mailbox.

1 /* Size of buffer that holds the IMAP command to be sent. */
2 #define SMALL_CMD 64
3 #define MEDIUM_CMD 256
4 #define BIG_CMD 8192
5
6 /*
7 * Size of buffer that holds the DATE, FROM and SUBJECT headers of the
8 * message to be deleted.
9 */
10 #define HEADERS_MAX 1024
11
12 #define custom_header(A) ((A) ? "HEADER " : "")
13
14
15 int send_command(char *cmd);
16 int send_command_get_response(char *cmd);
17 #ifdef DEBUG
18 int imap_noop(void);
19 #endif
20 int imap_logout(void);
21 int imap_login(account_t * ca);
22 int imap_select(void);
23 int imap_status(void);
24 int imap_search(char *res);
25 int imap_fetch(unsigned int m, char *res);
26 int imap_store(unsigned int m);
27 int imap_expunge(void);
28 void generate_search_filters(char *cmd);
29 void generate_search_limits(char *cmd);
30 void deny_filters(char *cmd);
31 void allow_filters(char *cmd, char *key);
32 void delete_messages(char *msgs);

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26