X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=hook.c;h=68a662e799e8d295681956fabcfe77b00207c4c2;hp=e88633ec43458549fddc3244b97a5f710ba001bf;hb=fa7f733a61a6fe3143198791ab470ddf4d08fdbe;hpb=c3e57678c8be193fc137854020f3a90887be97c9;ds=sidebyside 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;