"Fossies" - the Fresh Open Source Software Archive

Member "gnupg-2.2.17/common/gc-opt-flags.h" (28 Aug 2017, 1769 Bytes) of package /linux/misc/gnupg-2.2.17.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "gc-opt-flags.h" see the Fossies "Dox" file reference documentation.

    1 /* gc-opt-flags.h - gpgconf constants used by the backends.
    2  * Copyright (C) 2004, 2007  Free Software Foundation, Inc.
    3  *
    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.
    7  *
    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
   11  * PURPOSE.
   12  */
   13 
   14 #ifndef GNUPG_GC_OPT_FLAGS_H
   15 #define GNUPG_GC_OPT_FLAGS_H
   16 
   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.  */
   20 
   21 #define GC_OPT_FLAG_NONE    0UL
   22 
   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)
   26 
   27 /* The DEFAULT flag for an option indicates that the option has a
   28    default value.  */
   29 #define GC_OPT_FLAG_DEFAULT (1UL << 4)
   30 
   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)
   34 
   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)
   38 
   39 /* The NO_CHANGE flag for an option indicates that the user should not
   40    be allowed to change this option using the standard gpgconf method.
   41    Frontends using gpgconf should grey out such options, so that only
   42    the current value is displayed.  */
   43 #define GC_OPT_FLAG_NO_CHANGE   (1UL <<7)
   44 
   45 
   46 #endif /*GNUPG_GC_OPT_FLAGS_H*/