diff options
author | Werner Koch <[email protected]> | 2014-03-12 17:24:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-03-12 17:35:36 +0000 |
commit | 6dd5d99a61f24aff862ccba9f7410d7f1af87c05 (patch) | |
tree | 2fbd908268f7bf2b614884edabe09f2e00df5627 /common/gc-opt-flags.h | |
parent | dirmngr: Detect dead keyservers and try another one. (diff) | |
download | gnupg-6dd5d99a61f24aff862ccba9f7410d7f1af87c05.tar.gz gnupg-6dd5d99a61f24aff862ccba9f7410d7f1af87c05.zip |
gpg: Add option --dirmngr-program.
* g10/gpg.c: Add option --dirmngr-program.
* g10/options.h (struct opt): Add field dirmngr_program.
* g10/call-dirmngr.c (create_context): Use new var.
* dirmngr/dirmngr.c: Include gc-opt-flags.h.
(main): Remove GC_OPT_FLAG_*.
* tools/gpgconf-comp.c (GC_OPT_FLAG_NO_CHANGE): Move macro to ...
* common/gc-opt-flags.h: here.
Diffstat (limited to 'common/gc-opt-flags.h')
-rw-r--r-- | common/gc-opt-flags.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/gc-opt-flags.h b/common/gc-opt-flags.h index b777c06d6..11ecec030 100644 --- a/common/gc-opt-flags.h +++ b/common/gc-opt-flags.h @@ -36,5 +36,11 @@ a default, which is described by the value of the ARGDEF field. */ #define GC_OPT_FLAG_NO_ARG_DESC (1UL << 6) +/* The NO_CHANGE flag for an option indicates that the user should not + be allowed to change this option using the standard gpgconf method. + Frontends using gpgconf should grey out such options, so that only + the current value is displayed. */ +#define GC_OPT_FLAG_NO_CHANGE (1UL <<7) + #endif /*GNUPG_GC_OPT_FLAGS_H*/ |