summaryrefslogtreecommitdiffstats
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-01-10 07:50:14 -0400
committerDavid Bremner <david@tethera.net>2021-02-06 19:57:55 -0400
commitf61d88c6f454c368282ac881a864f619a409ba42 (patch)
tree428ddda15e9551b3aacdb9426ee7c875ec2e0549 /notmuch-client.h
parent0345bc57a0d00d576c0e8bccc23fd448736a4511 (diff)
CLI: use configured hook directory
This enables support for hooks outside the database directory. It relies strongly on configuration information being usable between closing the database and destroying it.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 9e09c36a..f60f5406 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -339,7 +339,7 @@ const char *
_notmuch_config_get_path (notmuch_config_t *config);
int
-notmuch_run_hook (const char *db_path, const char *hook);
+notmuch_run_hook (notmuch_database_t *notmuch, const char *hook);
bool
debugger_is_active (void);