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

Diff of /imapfilter/file.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  #include <regex.h>  #include <regex.h>
2    
3  /*  /*
4   * "Standard" means one of FROM, TO, CC, BCC and SUBJECT which are   * "Standard" means one of FROM, TO, CC, BCC and SUBJECT which are header
5   * header field-names recognised as searching criteria, from an   * field-names recognised as searching criteria, from an IMAP server, while
6   * IMAP server. Custom any other user defined header field-names.   * custom indicates any other user defined headerfield-names.
7   */   */
8  #define standard_filter(A, B)           set_filters(A, B, 0)  #define standard_filter(A, B)           set_filters(A, B, 0)
9  #define custom_filter(A, B)             set_filters(A, B, 1)  #define custom_filter(A, B)             set_filters(A, B, 1)
10    
11  int read_config(char *cfg);  int read_config(char *cfg);
12  int parse_config(FILE * fp);  int parse_config(FILE * fp);
13  void prepare_account(void);  account_t *prepare_account(void);
14  void set_account(char *line, regmatch_t * match);  void set_account(char *line, regmatch_t * match);
15  void set_filters(char *line, regmatch_t * match, int custom);  void set_filters(char *line, regmatch_t * match, int csm);
16  void set_limits(char *line, regmatch_t * match);  void set_limits(char *line, regmatch_t * match);

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26