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

Contents of /imapfilter/file.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations)
Sun Aug 26 13:31:57 2001 UTC (22 years, 7 months ago) by lefcha
Branch: MAIN
Changes since 1.5: +1 -0 lines
File MIME type: text/plain
Config file permissions checking.

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26