diff options
author | Werner Koch <wk@gnupg.org> | 2004-03-23 14:04:34 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-03-23 14:04:34 +0100 |
commit | d5579da4a3307c3f9e1168ffb9fec4be84989726 (patch) | |
tree | 9bad44f77e8f4f7ad81d3cff5243795bbf97902b | |
parent | * configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT> (diff) | |
download | gnupg2-d5579da4a3307c3f9e1168ffb9fec4be84989726.tar.xz gnupg2-d5579da4a3307c3f9e1168ffb9fec4be84989726.zip |
(gc_options_gpg): New.
(gc_component_t, gc_component): Add GC_BACKEND_GPG.
-rw-r--r-- | tools/ChangeLog | 5 | ||||
-rw-r--r-- | tools/gpgconf-comp.c | 50 |
2 files changed, 55 insertions, 0 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog index 1c4b3bdd2..360efa847 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,8 @@ +2004-03-23 Werner Koch <wk@gnupg.org> + + * gpgconf-comp.c (gc_options_gpg): New. + (gc_component_t, gc_component): Add GC_BACKEND_GPG. + 2004-03-23 Marcus Brinkmann <marcus@g10code.de> * gpgconf-comp.c (gc_flag): Add missing flags. diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 8d6e223c9..e3990f9c3 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -543,6 +543,52 @@ static gc_option_t gc_options_scdaemon[] = }; +/* The options of the GC_COMPONENT_GPG component. */ +static gc_option_t gc_options_gpg[] = + { + /* The configuration file to which we write the changes. */ + { "gpgconf-gpg.conf", GC_OPT_FLAG_NONE, GC_LEVEL_INTERNAL, + NULL, NULL, GC_ARG_TYPE_PATHNAME, GC_BACKEND_GPG }, + + { "Monitor", + GC_OPT_FLAG_GROUP, GC_LEVEL_BASIC, + NULL, "Options controlling the diagnostic output" }, + { "verbose", GC_OPT_FLAG_LIST, GC_LEVEL_BASIC, + "gnupg", "verbose", + GC_ARG_TYPE_NONE, GC_BACKEND_GPG }, + { "quiet", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC, + "gnupg", "be somewhat more quiet", + GC_ARG_TYPE_NONE, GC_BACKEND_GPG }, + { "no-greeting", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE, + NULL, NULL, + GC_ARG_TYPE_NONE, GC_BACKEND_GPG }, + + { "Configuration", + GC_OPT_FLAG_GROUP, GC_LEVEL_EXPERT, + NULL, "Options controlling the configuration" }, + { "options", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT, + "gnupg", "|FILE|read options from FILE", + GC_ARG_TYPE_PATHNAME, GC_BACKEND_GPG }, + + { "Debug", + GC_OPT_FLAG_GROUP, GC_LEVEL_ADVANCED, + "gnupg", "Options useful for debugging" }, + { "debug-level", GC_OPT_FLAG_ARG_OPT, GC_LEVEL_ADVANCED, + "gnupg", "|LEVEL|set the debugging level to LEVEL", + GC_ARG_TYPE_STRING, GC_BACKEND_GPG }, + { "log-file", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED, + "gnupg", "|FILE|write logs to FILE", + GC_ARG_TYPE_PATHNAME, GC_BACKEND_GPG }, +/* { "faked-system-time", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE, */ +/* NULL, NULL, */ +/* GC_ARG_TYPE_UINT32, GC_BACKEND_GPG }, */ + + + GC_OPTION_NULL + }; + + + /* The options of the GC_COMPONENT_GPGSM component. */ static gc_option_t gc_options_gpgsm[] = { @@ -724,6 +770,9 @@ typedef enum /* The Smardcard Daemon. */ GC_COMPONENT_SCDAEMON, + /* The classic GPG for OpenPGP. */ + GC_COMPONENT_GPG + /* GPG for S/MIME. */ GC_COMPONENT_GPGSM, @@ -756,6 +805,7 @@ static struct { { "gpg-agent", NULL, "GPG Agent", gc_options_gpg_agent }, { "scdaemon", NULL, "Smartcard Daemon", gc_options_scdaemon }, + { "gpg", NULL, "GPG for OpenPGP", gc_options_gpg }, { "gpgsm", NULL, "GPG for S/MIME", gc_options_gpgsm }, { "dirmngr", NULL, "CRL Manager", gc_options_dirmngr } }; |