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

Diff of /imapfilter/imapfilter.h

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

revision 1.34 by lefcha, Sat Jul 13 14:11:08 2002 UTC revision 1.35 by lefcha, Sat Jul 13 21:19:52 2002 UTC
# Line 61  Line 61 
61  #define MEDIUM_CMD                      512  #define MEDIUM_CMD                      512
62  #define BIG_CMD                         32768  #define BIG_CMD                         32768
63    
64    /* Store IMAP command type may replace,add or remove flags. */
65    #define STORE_FLAG_REPLACE              1
66    #define STORE_FLAG_ADD                  2
67    #define STORE_FLAG_REMOVE               3
68    
69  /* Buffer size of server's response. */  /* Buffer size of server's response. */
70  #define RESPONSE_BUF                    (4096 + 1)  #define RESPONSE_BUF                    (4096 + 1)
71  #define RESULT_BUF                      512  #define RESULT_BUF                      512
# Line 85  Line 90 
90  #define ENCRYPTION_BUF                  1024  #define ENCRYPTION_BUF                  1024
91  #define DECRYPTION_BUF                  4096  #define DECRYPTION_BUF                  4096
92    
93    /* Buffer to save flags of the store IMAP command. */
94    #define STORE_FLAGS_BUF                 64
95    
96  /* Maximum passwords the password editor can handle. */  /* Maximum passwords the password editor can handle. */
97  #define EDITOR_PASSWORDS_MAX            64  #define EDITOR_PASSWORDS_MAX            64
98    
# Line 146  int imap_status(int *sock, char *mbox, c Line 154  int imap_status(int *sock, char *mbox, c
154  int imap_create(int *sock, char *mbox);  int imap_create(int *sock, char *mbox);
155  int imap_search(int *sock, char *search);  int imap_search(int *sock, char *search);
156  int imap_fetch(int *sock, char *mesg, char *items);  int imap_fetch(int *sock, char *mesg, char *items);
157  int imap_store(int *sock, char *mesg, char *flags);  int imap_store(int *sock, char *mesg, unsigned int mode, char *flags);
158  int imap_copy(int *sock, char *mesg, char *mbox);  int imap_copy(int *sock, char *mesg, char *mbox);
159  int imap_append(int *sock, char *mbox, unsigned int size);  int imap_append(int *sock, char *mbox, unsigned int size);
160  int imap_close(int *sock);  int imap_close(int *sock);
# Line 227  char *generate_filter_or(mask_t * mask, Line 235  char *generate_filter_or(mask_t * mask,
235                            unsigned int masklen);                            unsigned int masklen);
236    
237  int apply_action(char *mesgs, unsigned int *type, account_t * raccount,  int apply_action(char *mesgs, unsigned int *type, account_t * raccount,
238                    char *destmbox, char *args);                    char *destmbox, unsigned int *msgflags, char *args);
239  int action_delete(char *mesgs, char *args);  int action_delete(char *mesgs, char *args);
240  int action_copy(char *mesgs, char *destmbox, char *args);  int action_copy(char *mesgs, char *destmbox, char *args);
241  int action_move(char *mesgs, char *destmbox, char *args);  int action_move(char *mesgs, char *destmbox, char *args);
242  int action_rcopy(char *mesgs, account_t * destacc, char *destmbox, char *args);  int action_rcopy(char *mesgs, account_t * destacc, char *destmbox, char *args);
243  int action_rmove(char *mesgs, account_t * destacc, char *destmbox, char *args);  int action_rmove(char *mesgs, account_t * destacc, char *destmbox, char *args);
244    int action_flag(char *mesgs, unsigned int *type, unsigned int *msgflags, char *args);
245  int action_list(char *mesgs, char *args);  int action_list(char *mesgs, char *args);
246    
247  unsigned int count_messages(char *mesgs);  unsigned int count_messages(char *mesgs);

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26