X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=f60f540626d94df074f0294d439892b52bf03b46;hp=a026002a27b0904c76fdb871f259db85627ea2ff;hb=4c79a2dabe38ac72eb9eb21620f2ffca5f1885c6;hpb=dd6b50709970ad08fbf0a09111bd3a0c31455518 diff --git a/notmuch-client.h b/notmuch-client.h index a026002a..f60f5406 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -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 * @@ -338,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);