]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
Merge tag '0.31.4'
[notmuch] / notmuch-client.h
index e8fb032312db0ef1d1e3f319a34070d43d35bfb1..f60f540626d94df074f0294d439892b52bf03b46 100644 (file)
@@ -257,6 +257,7 @@ typedef enum {
     NOTMUCH_COMMAND_CONFIG_CREATE      = 1 << 1,
     NOTMUCH_COMMAND_DATABASE_EARLY     = 1 << 2,
     NOTMUCH_COMMAND_DATABASE_WRITE     = 1 << 3,
+    NOTMUCH_COMMAND_DATABASE_CREATE    = 1 << 4,
 } notmuch_command_mode_t;
 
 notmuch_config_t *
@@ -334,9 +335,11 @@ void
 notmuch_config_set_search_exclude_tags (notmuch_config_t *config,
                                        const char *list[],
                                        size_t length);
+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);