X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=4a4f86c41b8794c5adc9b323779cdacc496cba7d;hp=c25c4ea888445a11636e849a9a692b9765a445c4;hb=cb08a2ee019e52dc29ba393d139fce8d7282c632;hpb=21ecd7369aa2aa24d26775c3fe5edcb437914774 diff --git a/notmuch-client.h b/notmuch-client.h index c25c4ea8..4a4f86c4 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -278,6 +278,13 @@ void notmuch_config_set_database_path (notmuch_config_t *config, const char *database_path); +const char * +notmuch_config_get_crypto_gpg_path (notmuch_config_t *config); + +void +notmuch_config_set_crypto_gpg_path (notmuch_config_t *config, + const char *gpg_path); + const char * notmuch_config_get_user_name (notmuch_config_t *config); @@ -459,4 +466,12 @@ notmuch_database_dump (notmuch_database_t *notmuch, notmuch_bool_t gzip_output); #include "command-line-arguments.h" + +extern char *notmuch_requested_db_uuid; +extern const notmuch_opt_desc_t notmuch_shared_options []; +void notmuch_exit_if_unmatched_db_uuid (notmuch_database_t *notmuch); + +void notmuch_process_shared_options (const char* subcommand_name); +int notmuch_minimal_options (const char* subcommand_name, + int argc, char **argv); #endif