24 MATCHING_NOT_FORWARDED,
36 MATCHING_NOT_TO_AND_NOT_CC,
40 MATCHING_NOT_NEWSGROUPS,
47 MATCHING_HEADERS_PART,
48 MATCHING_NOT_HEADERS_PART,
50 MATCHING_NOT_BODY_PART,
70 typedef struct _MatcherProp MatcherProp;
77 typedef struct _MatcherList MatcherList;
79 MatcherProp * matcherprop_new(gint criteria, gchar * header,
80 gint matchtype, gchar * expr,
82 void matcherprop_free(MatcherProp * prop);
83 MatcherProp * matcherprop_parse(gchar ** str);
85 gboolean matcherprop_match(MatcherProp * prop, MsgInfo * info);
87 MatcherList * matcherlist_new(GSList * matchers, gboolean bool_and);
88 void matcherlist_free(MatcherList * cond);
89 MatcherList * matcherlist_parse(gchar ** str);
91 gboolean matcherlist_match(MatcherList * cond, MsgInfo * info);
93 gint matcher_parse_keyword(gchar ** str);
94 gint matcher_parse_number(gchar ** str);
95 gboolean matcher_parse_boolean_op(gchar ** str);
96 gchar * matcher_parse_regexp(gchar ** str);
97 gchar * matcher_parse_str(gchar ** str);
98 gchar * matcherprop_to_string(MatcherProp * matcher);
99 gchar * matcherlist_to_string(MatcherList * matchers);