1 /* gc-opt-flags.h - gpgconf constants used by the backends.
2 * Copyright (C) 2004, 2007 Free Software Foundation, Inc.
4 * This file is free software; as a special exception the author gives
5 * unlimited permission to copy and/or distribute it, with or without
6 * modifications, as long as this notice is preserved.
8 * This file is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY, to the extent permitted by law; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 #ifndef GNUPG_GC_OPT_FLAGS_H
15 #define GNUPG_GC_OPT_FLAGS_H
17 /* Public option flags. YOU MUST NOT CHANGE THE NUMBERS OF THE
18 EXISTING FLAGS, AS THEY ARE PART OF THE EXTERNAL INTERFACE. See
19 gnupg/tools/gpgconf-comp.c for details. */
21 #define GC_OPT_FLAG_NONE 0UL
23 /* The RUNTIME flag for an option indicates that the option can be
24 changed at runtime. */
25 #define GC_OPT_FLAG_RUNTIME (1UL << 3)
27 /* The DEFAULT flag for an option indicates that the option has a
29 #define GC_OPT_FLAG_DEFAULT (1UL << 4)
31 /* The DEF_DESC flag for an option indicates that the option has a
32 default, which is described by the value of the default field. */
33 #define GC_OPT_FLAG_DEF_DESC (1UL << 5)
35 /* The NO_ARG_DESC flag for an option indicates that the argument has
36 a default, which is described by the value of the ARGDEF field. */
37 #define GC_OPT_FLAG_NO_ARG_DESC (1UL << 6)
40 #endif /*GNUPG_GC_OPT_FLAGS_H*/