]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
CLI/config: remove calls to notmuch_config_open from top level
[notmuch] / notmuch-client.h
index a1d8dfe921126419fd24b32ac114c035cf591190..a5b3c51836d754594ce67cfa74505770cdf3c0d7 100644 (file)
@@ -267,7 +267,6 @@ json_quote_str (const void *ctx, const char *str);
 /* notmuch-config.c */
 
 typedef enum {
-    NOTMUCH_COMMAND_CONFIG_OPEN                = 1 << 0,
     NOTMUCH_COMMAND_CONFIG_CREATE      = 1 << 1,
     NOTMUCH_COMMAND_DATABASE_EARLY     = 1 << 2,
     NOTMUCH_COMMAND_DATABASE_WRITE     = 1 << 3,
@@ -278,7 +277,7 @@ typedef enum {
 notmuch_config_t *
 notmuch_config_open (notmuch_database_t *notmuch,
                     const char *filename,
-                    notmuch_command_mode_t config_mode);
+                    bool create);
 
 void
 notmuch_config_close (notmuch_config_t *config);