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

Diff of /imapfilter/imap.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by lefcha, Sat Aug 11 15:54:57 2001 UTC revision 1.7 by lefcha, Sun Aug 26 19:54:54 2001 UTC
# Line 1  Line 1 
1  /* Size of buffer that holds the IMAP command to be sent. */  /* Size of buffer that holds the IMAP command to be sent. */
2  #define SMALL_COMMAND_MAX               64  #define SMALL_CMD                       64
3  #define MEDIUM_COMMAND_MAX              256  #define MEDIUM_CMD                      256
4  #define BIG_COMMAND_MAX                 8192  #define BIG_CMD                         8192
   
 /* Number of messages that match the filters and are to be deleted. */  
 #define MESSAGES_MAX                    128  
5    
6  /*  /*
7   * Size of buffer that holds the DATE, FROM and SUBJECT headers of the   * Size of buffer that holds the DATE, FROM and SUBJECT headers of the
# Line 12  Line 9 
9   */   */
10  #define HEADERS_MAX                     1024  #define HEADERS_MAX                     1024
11    
12  int send_command(char *command);  #define custom_header(A)                ((A) ? "HEADER " : "")
13  int send_command_get_response(char *command);  
14    
15    int send_command(char *cmd);
16  #ifdef DEBUG  #ifdef DEBUG
17  int imap_noop(void);  int imap_noop(void);
18  #endif  #endif
19  int imap_logout(void);  int imap_logout(void);
20  int imap_login(void);  int imap_login(account_t * ca);
21  int imap_select(void);  int imap_select(void);
22  int imap_search(void);  int imap_status(void);
23  int imap_fetch(unsigned int m, char *results);  int imap_search(char *res);
24    int imap_fetch(unsigned int m, char *res);
25  int imap_store(unsigned int m);  int imap_store(unsigned int m);
26  int imap_expunge(void);  int imap_expunge(void);
27  void generate_search_filters(char *command);  void gen_search_filters(char *cmd);
28  void delete_messages(char *unwanted);  void gen_search_limits(char *cmd);
29    void gen_deny_filters(char *cmd);
30    void gen_allow_filters(char *cmd, char *key);
31    void del_messages(char *msgs);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.7

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26