X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=f59b39657897b3765e1d9d6edc62efe60eddf192;hp=ebd43e8d296ec775808f527b757b73c137528235;hb=867d7352a76e0a8a46e64a035f23edcf7d6f49e4;hpb=39580e2d7fde7fbb1d837d49c0b3f675f706e123 diff --git a/notmuch-client.h b/notmuch-client.h index ebd43e8d..f59b3965 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -253,14 +253,16 @@ json_quote_str (const void *ctx, const char *str); /* notmuch-config.c */ typedef enum { - NOTMUCH_CONFIG_OPEN = 1 << 0, - NOTMUCH_CONFIG_CREATE = 1 << 1, -} notmuch_config_mode_t; + NOTMUCH_COMMAND_CONFIG_OPEN = 1 << 0, + NOTMUCH_COMMAND_CONFIG_CREATE = 1 << 1, + NOTMUCH_COMMAND_DATABASE_EARLY = 1 << 2, + NOTMUCH_COMMAND_DATABASE_WRITE = 1 << 3, +} notmuch_command_mode_t; notmuch_config_t * notmuch_config_open (void *ctx, const char *filename, - notmuch_config_mode_t config_mode); + notmuch_command_mode_t config_mode); void notmuch_config_close (notmuch_config_t *config);