X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-lib%2Frx.h;h=6decaa69591ee0a2e7fa2038cf46c58a22a7e62f;hp=fcaba32396042389472c0fa8d788b9edb604edcb;hb=366c938a78d928880c77bfe31a8715184c918d41;hpb=717c9f150ded0fed572d27f68db07f94a9fe70e8 diff --git a/lib-lib/rx.h b/lib-lib/rx.h index fcaba32..6decaa6 100644 --- a/lib-lib/rx.h +++ b/lib-lib/rx.h @@ -40,16 +40,20 @@ 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);