From 6dd5d99a61f24aff862ccba9f7410d7f1af87c05 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 12 Mar 2014 18:24:52 +0100 Subject: 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. --- common/gc-opt-flags.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/gc-opt-flags.h') 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*/ -- cgit v1.2.3