21 MATCHING_NOT_TO_AND_NOT_CC,
25 MATCHING_NOT_NEWSGROUPS,
30 MATCHING_HEADERS_PART,
31 MATCHING_NOT_HEADERS_PART,
33 MATCHING_NOT_BODY_PART,
51 typedef struct _MatcherProp MatcherProp;
58 typedef struct _MatcherList MatcherList;
60 MatcherProp * matcherprop_new(gint criteria, gchar * header,
61 gint matchtype, gchar * expr,
63 void matcherprop_free(MatcherProp * prop);
64 MatcherProp * matcherprop_parse(gchar ** str);
66 gboolean matcherprop_match(MatcherProp * prop, MsgInfo * info);
68 MatcherList * matcherlist_new(GSList * matchers, gboolean bool_and);
69 void matcherlist_free(MatcherList * cond);
70 MatcherList * matcherlist_parse(gchar ** str);
72 gboolean matcherlist_match(MatcherList * cond, MsgInfo * info);
74 gint matcher_parse_keyword(gchar ** str);
75 gint matcher_parse_number(gchar ** str);
76 gboolean matcher_parse_boolean_op(gchar ** str);
77 gchar * matcher_parse_regexp(gchar ** str);
78 gchar * matcher_parse_str(gchar ** str);
79 gchar * matcherprop_to_string(MatcherProp * matcher);
80 gchar * matcherlist_to_string(MatcherList * matchers);