workaround a stupid issue in how decoding is performed in mutt *sigh*
[apps/madmutt.git] / lib-lib / rx.h
index fcaba32..6decaa6 100644 (file)
 
 typedef struct rx_t {
     struct rx_t *next;
-    char *pattern;                /* printable version */
-    regex_t *rx;                  /* compiled expression */
-    int not;                      /* do not match */
 
+    unsigned neg : 1;             /* do not match */
+    int flags;
     int nmatch;                   /* nb matches */
+
+    char *pattern;                /* printable version */
     char *tpl;                    /* out template */
+
+    regex_t *rx;                  /* compiled expression */
 } rx_t;
 
 rx_t *rx_compile(const char*, int);
 void rx_wipe(rx_t *);
+rx_t *rx_dup(rx_t *);
 DO_DELETE(rx_t, rx);
 DO_SLIST(rx_t, rx, rx_delete);