]> git.notmuchmail.org Git - notmuch/commitdiff
cli: introduce the concept of user defined hooks
authorJani Nikula <jani@nikula.org>
Thu, 8 Dec 2011 22:48:29 +0000 (00:48 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 11 Dec 2011 17:57:31 +0000 (13:57 -0400)
Add mechanism for running user defined hooks. Hooks are executables or
symlinks to executables stored under the new notmuch hooks directory,
<database-path>/.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 <jani@nikula.org>

No differences found