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

Diff of /imapfilter/imap.h

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

revision 1.3 by lefcha, Mon Aug 20 21:40:57 2001 UTC revision 1.4 by lefcha, Sun Aug 26 01:18:24 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
5    
6  /* Number of messages that match the filters and are to be deleted. */  /* Number of messages that match the filters and are to be deleted. */
7  #define MESSAGES_MAX                    128  #define MESSAGES_MAX                    128
# Line 15  Line 15 
15  #define custom_header(A)                ((A) ? "HEADER " : "")  #define custom_header(A)                ((A) ? "HEADER " : "")
16    
17    
18  int send_command(char *command);  int send_command(char *cmd);
19  int send_command_get_response(char *command);  int send_command_get_response(char *cmd);
20  #ifdef DEBUG  #ifdef DEBUG
21  int imap_noop(void);  int imap_noop(void);
22  #endif  #endif
23  int imap_logout(void);  int imap_logout(void);
24  int imap_login(void);  int imap_login(account_t * ca);
25  int imap_select(void);  int imap_select(void);
26  int imap_search(char *results);  int imap_search(char *res);
27  int imap_fetch(unsigned int m, char *results);  int imap_fetch(unsigned int m, char *res);
28  int imap_store(unsigned int m);  int imap_store(unsigned int m);
29  int imap_expunge(void);  int imap_expunge(void);
30  void generate_search_filters(char *command);  void generate_search_filters(char *cmd);
31  void generate_search_limits(char *command);  void generate_search_limits(char *cmd);
32  void deny_filters(char *command);  void deny_filters(char *cmd);
33  void allow_filters(char *command, char *key);  void allow_filters(char *cmd, char *key);
34  void delete_messages(char *unwanted);  void delete_messages(char *msgs);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26