Improved subject simplification by regexp.
[claws.git] / src / prefs_folder_item.h
index 0892293..a39fc48 100644 (file)
@@ -23,6 +23,8 @@
 
 #include "folder.h"
 #include <glib.h>
+#include <sys/types.h>
+#include <regex.h>
 
 struct _PrefsFolderItem {
        gchar * directory;
@@ -49,6 +51,7 @@ struct _PrefsFolderItem {
        gchar *default_to;
        gboolean enable_simplify_subject;
        gchar *simplify_subject_regexp;
+       regex_t *simplify_subject_preg;
        gboolean enable_folder_chmod;
        gint folder_chmod;
        gboolean enable_default_account;