X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch-client.h;h=9e09c36a55c607f6c43cbf90b0afc2b5c34d2457;hb=0d3bef312dd624225825e6fe175ea8830c1c9e39;hp=e8fb032312db0ef1d1e3f319a34070d43d35bfb1;hpb=319efe21c9d2754c99951cecc71184faf7ca9054;p=notmuch diff --git a/notmuch-client.h b/notmuch-client.h index e8fb0323..9e09c36a 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 * @@ -334,6 +335,8 @@ 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);