X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=hook.c;h=68a662e799e8d295681956fabcfe77b00207c4c2;hp=6c4c83b67c4af29e620cf5261c98ad2714c8cc46;hb=fa7f733a61a6fe3143198791ab470ddf4d08fdbe;hpb=34cf6d8df073a949b69970327314e2355dbccabc diff --git a/hook.c b/hook.c index 6c4c83b..68a662e 100644 --- a/hook.c +++ b/hook.c @@ -22,6 +22,7 @@ #include "lib/mem.h" #include "lib/intl.h" #include "lib/str.h" +#include "lib/rx.h" #include #include @@ -31,7 +32,7 @@ typedef struct hook { int type; /* hook type */ - REGEXP rx; /* regular expression */ + rx_t rx; /* regular expression */ char *command; /* filename, command or pattern to execute */ pattern_t *pattern; /* used for fcc,save,send-hook */ struct hook *next;