#include "procmsg.h"
/* constants generated by yacc */
-#if !defined(YYBISON) && !defined(MATCHER_ALL)
-# include "matcher_parser_lex.h"
-# include "matcher_parser_parse.h"
-#endif
+#include "matcher_parser_lex.h"
+#include "matcher_parser_parse.h"
struct _MatcherProp {
int matchtype;
MC_(FORWARDED), MC_(NOT_FORWARDED),
MC_(LOCKED), MC_(NOT_LOCKED),
MC_(SPAM),MC_(NOT_SPAM),
+ MC_(HAS_ATTACHMENT), MC_(HAS_NO_ATTACHMENT),
+ MC_(SIGNED), MC_(NOT_SIGNED),
MC_(PARTIAL), MC_(NOT_PARTIAL),
MC_(COLORLABEL), MC_(NOT_COLORLABEL),
MC_(IGNORE_THREAD), MC_(NOT_IGNORE_THREAD),
gint matchtype,
const gchar *expr,
int value);
+MatcherProp *matcherprop_new_create (gint criteria,
+ const gchar *header,
+ gint matchtype,
+ const gchar *expr,
+ int value);
void matcherprop_free (MatcherProp *prop);
MatcherProp *matcherprop_parse (gchar **str);