]> git.cworth.org Git - notmuch/blobdiff - notmuch-client.h
cli: define shared options, use for --help and --version
[notmuch] / notmuch-client.h
index c25c4ea888445a11636e849a9a692b9765a445c4..8ecfac6b1cb4d8a92365c8e6f0af67d6c557d17b 100644 (file)
@@ -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,6 @@ notmuch_database_dump (notmuch_database_t *notmuch,
                       notmuch_bool_t gzip_output);
 
 #include "command-line-arguments.h"
+extern const notmuch_opt_desc_t  notmuch_shared_options [];
+void notmuch_process_shared_options (const char* subcommand_name);
 #endif