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

Diff of /imapfilter/filter.h

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

revision 1.6 by lefcha, Fri Feb 13 23:44:50 2004 UTC revision 1.7 by lefcha, Sat Feb 14 19:14:43 2004 UTC
# Line 9  Line 9 
9    
10    
11  /*  /*
12   * Mode for masks that comprise a filter. So if a filter is of AND type then   * Mode for masks that comprise a filter. So if a filter is of AND type then as
13   * as default masks are ANDed.   * default masks are ANDed.
14   */   */
15  #define FILTER_MODE_OR          1  #define FILTER_MODE_OR          1
16  #define FILTER_MODE_AND         2  #define FILTER_MODE_AND         2
# Line 39  Line 39 
39  #define MASK_TYPE_AND           2  #define MASK_TYPE_AND           2
40    
41  /* Type of mask match according to the four different regular expressions. */  /* Type of mask match according to the four different regular expressions. */
42  #define MASK_MATCH_1            1  #define MASK_MATCH_1            1
43  #define MASK_MATCH_2            2  #define MASK_MATCH_2            2
44  #define MASK_MATCH_3            3  #define MASK_MATCH_3            3
45  #define MASK_MATCH_4            4  #define MASK_MATCH_4            4
46    
47  /* String length of action's arguments. */  /* String length of action's arguments. */
48  #define ARGS_LEN                256  #define ARGS_LEN                256
# Line 64  typedef struct filter { Line 64  typedef struct filter {
64                  account_t *raccount;    /* Remote account to rcopy/rmove                  account_t *raccount;    /* Remote account to rcopy/rmove
65                                           * message. */                                           * message. */
66                  char destmbox[MBOX_LEN];        /* Destination mailbox. */                  char destmbox[MBOX_LEN];        /* Destination mailbox. */
67                  unsigned int msgflags;  /* Message flags to replace/add/remove. */                  unsigned int msgflags;  /* Message flags to
68                                             * replace/add/remove. */
69                  char args[ARGS_LEN];    /* Action's arguments. */                  char args[ARGS_LEN];    /* Action's arguments. */
70          } action;          } action;
71    

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26