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

Annotation of /imapfilter/imap.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations)
Sun Aug 26 01:18:24 2001 UTC (22 years, 7 months ago) by lefcha
Branch: MAIN
Changes since 1.3: +13 -13 lines
File MIME type: text/plain
Structural changes

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26