remove selective download
[claws.git] / src / matcher.h
index 109f88074a19efffc93e272a1db26eac16192f50..e62da4a06c5e80826f8b466c938e357569ffd05d 100644 (file)
@@ -78,6 +78,7 @@ enum {
        MC_(FORWARDED), MC_(NOT_FORWARDED),
        MC_(LOCKED), MC_(NOT_LOCKED),
        MC_(COLORLABEL), MC_(NOT_COLORLABEL),
+       MC_(IGNORE_THREAD), MC_(NOT_IGNORE_THREAD),
        MC_(SUBJECT), MC_(NOT_SUBJECT),
        MC_(FROM), MC_(NOT_FROM),
        MC_(TO), MC_(NOT_TO),
@@ -116,30 +117,30 @@ enum {
        MA_(FORWARD_AS_ATTACHMENT),
        MA_(COLOR),
        MA_(REDIRECT),
-       MA_(DELETE_ON_SERVER),
+       MA_(CHANGE_SCORE),
        /* boolean operations */
        MB_(OR),
        MB_(AND)
 };
 
-gchar *get_matchparser_tab_str         (gint id);
+const gchar *get_matchparser_tab_str   (gint id);
 gint get_matchparser_tab_id            (const gchar *str); 
 
-MatcherProp *matcherprop_new           (gint    criteria, 
-                                        gchar  *header,
-                                        gint    matchtype, 
-                                        gchar  *expr,
-                                        int     age);
-MatcherProp *matcherprop_unquote_new   (gint    criteria, 
-                                        gchar  *header,
-                                        gint    matchtype, 
-                                        gchar  *expr,
-                                        int     value);
+MatcherProp *matcherprop_new           (gint            criteria, 
+                                        const gchar    *header,
+                                        gint            matchtype, 
+                                        const gchar    *expr,
+                                        int             value);
+MatcherProp *matcherprop_unquote_new   (gint            criteria, 
+                                        const gchar    *header,
+                                        gint            matchtype, 
+                                        const gchar    *expr,
+                                        int             value);
 void matcherprop_free                  (MatcherProp *prop);
 
 MatcherProp *matcherprop_parse         (gchar  **str);
 
-MatcherProp *matcherprop_copy          (MatcherProp *src);
+MatcherProp *matcherprop_copy          (const MatcherProp *src);
 
 gboolean matcherprop_match             (MatcherProp    *prop, 
                                         MsgInfo        *info);
@@ -161,8 +162,8 @@ gchar *matcher_parse_str            (gchar          **str);
 gchar *matcher_escape_str              (const gchar    *str);
 gchar *matcher_unescape_str            (gchar          *str);
 gchar *matcherprop_to_string           (MatcherProp    *matcher);
-gchar *matcherlist_to_string           (MatcherList    *matchers);
-gchar *matching_build_command          (gchar          *cmd, 
+gchar *matcherlist_to_string           (const MatcherList      *matchers);
+gchar *matching_build_command          (const gchar    *cmd, 
                                         MsgInfo        *info);
 
 void prefs_matcher_read_config         (void);