X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=hook.c;h=68a662e799e8d295681956fabcfe77b00207c4c2;hb=590b3d82cd60994c06b2fae936008cdbc1a3611b;hp=e88633ec43458549fddc3244b97a5f710ba001bf;hpb=c3e57678c8be193fc137854020f3a90887be97c9;p=apps%2Fmadmutt.git diff --git a/hook.c b/hook.c index e88633e..68a662e 100644 --- a/hook.c +++ b/hook.c @@ -19,6 +19,11 @@ #include "compress.h" #endif +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" +#include "lib/rx.h" + #include #include #include @@ -27,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;