cli: introduce the concept of user defined hooks
[notmuch] / notmuch-client.h
index 703f85618a56b362b682984ae130f4f0e48d7915..c602e2e08c28fd2d2d9011c2eacb3f7dac8f1d75 100644 (file)
@@ -235,6 +235,9 @@ void
 notmuch_config_set_maildir_synchronize_flags (notmuch_config_t *config,
                                              notmuch_bool_t synchronize_flags);
 
+int
+notmuch_run_hook (const char *db_path, const char *hook);
+
 notmuch_bool_t
 debugger_is_active (void);