From d399b6b909fe6e2c6073464006061382c8bb31d5 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Fri, 9 Dec 2011 00:48:29 +0200 Subject: cli: introduce the concept of user defined hooks Add mechanism for running user defined hooks. Hooks are executables or symlinks to executables stored under the new notmuch hooks directory, /.notmuch/hooks. No hooks are introduced here, but adding support for a hook is now a simple matter of calling the new notmuch_run_hook() function at an appropriate location with the hook name. Signed-off-by: Jani Nikula --- Makefile.local | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.local') diff --git a/Makefile.local b/Makefile.local index 28e371a8..5108a0cc 100644 --- a/Makefile.local +++ b/Makefile.local @@ -299,6 +299,7 @@ notmuch_client_srcs = \ debugger.c \ gmime-filter-reply.c \ gmime-filter-headers.c \ + hooks.c \ notmuch.c \ notmuch-config.c \ notmuch-count.c \ -- cgit v1.2.3