"Fossies" - the Fresh Open Source Software Archive

Member "cryptsetup-2.4.3/src/utils_arg_names.h" (13 Jan 2022, 6943 Bytes) of package /linux/misc/cryptsetup-2.4.3.tar.xz:


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 "utils_arg_names.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Command line arguments name list
    3  *
    4  * Copyright (C) 2020-2021 Red Hat, Inc. All rights reserved.
    5  * Copyright (C) 2020-2021 Ondrej Kozina
    6  *
    7  * This program is free software; you can redistribute it and/or
    8  * modify it under the terms of the GNU General Public License
    9  * as published by the Free Software Foundation; either version 2
   10  * of the License, or (at your option) any later version.
   11  *
   12  * This program is distributed in the hope that it will be useful,
   13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15  * GNU General Public License for more details.
   16  *
   17  * You should have received a copy of the GNU General Public License
   18  * along with this program; if not, write to the Free Software
   19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   20  */
   21 
   22 #ifndef UTILS_ARG_NAMES_H
   23 #define UTILS_ARG_NAMES_H
   24 
   25 #define OPT_ACTIVE_NAME         "active-name"
   26 #define OPT_ALIGN_PAYLOAD       "align-payload"
   27 #define OPT_ALLOW_DISCARDS      "allow-discards"
   28 #define OPT_BATCH_MODE          "batch-mode"
   29 #define OPT_BITMAP_FLUSH_TIME       "bitmap-flush-time"
   30 #define OPT_BITMAP_SECTORS_PER_BIT  "bitmap-sectors-per-bit"
   31 #define OPT_BLOCK_SIZE          "block-size"
   32 #define OPT_BUFFER_SECTORS      "buffer-sectors"
   33 #define OPT_CANCEL_DEFERRED     "cancel-deferred"
   34 #define OPT_CHECK_AT_MOST_ONCE      "check-at-most-once"
   35 #define OPT_CIPHER          "cipher"
   36 #define OPT_DATA_BLOCK_SIZE     "data-block-size"
   37 #define OPT_DATA_BLOCKS         "data-blocks"
   38 #define OPT_DATA_DEVICE         "data-device"
   39 #define OPT_DEBUG           "debug"
   40 #define OPT_DEBUG_JSON          "debug-json"
   41 #define OPT_DEFERRED            "deferred"
   42 #define OPT_DEVICE_SIZE         "device-size"
   43 #define OPT_DECRYPT         "decrypt"
   44 #define OPT_DISABLE_EXTERNAL_TOKENS "disable-external-tokens"
   45 #define OPT_DISABLE_KEYRING     "disable-keyring"
   46 #define OPT_DISABLE_LOCKS       "disable-locks"
   47 #define OPT_DISABLE_VERACRYPT       "disable-veracrypt"
   48 #define OPT_DUMP_JSON           "dump-json-metadata"
   49 #define OPT_DUMP_MASTER_KEY     "dump-master-key"
   50 #define OPT_ENCRYPT         "encrypt"
   51 #define OPT_FEC_DEVICE          "fec-device"
   52 #define OPT_FEC_OFFSET          "fec-offset"
   53 #define OPT_FEC_ROOTS           "fec-roots"
   54 #define OPT_FORCE_PASSWORD      "force-password"
   55 #define OPT_FORMAT          "format"
   56 #define OPT_HASH            "hash"
   57 #define OPT_HASH_BLOCK_SIZE     "hash-block-size"
   58 #define OPT_HASH_OFFSET         "hash-offset"
   59 #define OPT_HEADER          "header"
   60 #define OPT_HEADER_BACKUP_FILE      "header-backup-file"
   61 #define OPT_HOTZONE_SIZE        "hotzone-size"
   62 #define OPT_IGNORE_CORRUPTION       "ignore-corruption"
   63 #define OPT_IGNORE_ZERO_BLOCKS      "ignore-zero-blocks"
   64 #define OPT_INIT_ONLY           "init-only"
   65 #define OPT_INTEGRITY           "integrity"
   66 #define OPT_INTEGRITY_BITMAP_MODE   "integrity-bitmap-mode"
   67 #define OPT_INTEGRITY_KEY_FILE      "integrity-key-file"
   68 #define OPT_INTEGRITY_KEY_SIZE      "integrity-key-size"
   69 #define OPT_INTEGRITY_LEGACY_PADDING    "integrity-legacy-padding"
   70 #define OPT_INTEGRITY_LEGACY_HMAC   "integrity-legacy-hmac"
   71 #define OPT_INTEGRITY_LEGACY_RECALC "integrity-legacy-recalculate"
   72 #define OPT_INTEGRITY_NO_JOURNAL    "integrity-no-journal"
   73 #define OPT_INTEGRITY_NO_WIPE       "integrity-no-wipe"
   74 #define OPT_INTEGRITY_RECALCULATE   "integrity-recalculate"
   75 #define OPT_INTEGRITY_RECALCULATE_RESET "integrity-recalculate-reset"
   76 #define OPT_INTEGRITY_RECOVERY_MODE "integrity-recovery-mode"
   77 #define OPT_INTERLEAVE_SECTORS      "interleave-sectors"
   78 #define OPT_ITER_TIME           "iter-time"
   79 #define OPT_IV_LARGE_SECTORS        "iv-large-sectors"
   80 #define OPT_JSON_FILE           "json-file"
   81 #define OPT_JOURNAL_COMMIT_TIME     "journal-commit-time"
   82 #define OPT_JOURNAL_CRYPT       "journal-crypt"
   83 #define OPT_JOURNAL_CRYPT_KEY_FILE  "journal-crypt-key-file"
   84 #define OPT_JOURNAL_CRYPT_KEY_SIZE  "journal-crypt-key-size"
   85 #define OPT_JOURNAL_INTEGRITY       "journal-integrity"
   86 #define OPT_JOURNAL_INTEGRITY_KEY_FILE  "journal-integrity-key-file"
   87 #define OPT_JOURNAL_INTEGRITY_KEY_SIZE  "journal-integrity-key-size"
   88 #define OPT_JOURNAL_SIZE        "journal-size"
   89 #define OPT_JOURNAL_WATERMARK       "journal-watermark"
   90 #define OPT_KEEP_KEY            "keep-key"
   91 #define OPT_KEY_DESCRIPTION     "key-description"
   92 #define OPT_KEY_FILE            "key-file"
   93 #define OPT_KEY_SIZE            "key-size"
   94 #define OPT_KEY_SLOT            "key-slot"
   95 #define OPT_KEYFILE_OFFSET      "keyfile-offset"
   96 #define OPT_KEYFILE_SIZE        "keyfile-size"
   97 #define OPT_KEYSLOT_CIPHER      "keyslot-cipher"
   98 #define OPT_KEYSLOT_KEY_SIZE        "keyslot-key-size"
   99 #define OPT_NO_SUPERBLOCK       "no-superblock"
  100 #define OPT_NO_WIPE         "no-wipe"
  101 #define OPT_LABEL           "label"
  102 #define OPT_LUKS2_KEYSLOTS_SIZE     "luks2-keyslots-size"
  103 #define OPT_LUKS2_METADATA_SIZE     "luks2-metadata-size"
  104 #define OPT_MASTER_KEY_FILE     "master-key-file"
  105 #define OPT_NEW             "new"
  106 #define OPT_NEW_KEYFILE_OFFSET      "new-keyfile-offset"
  107 #define OPT_NEW_KEYFILE_SIZE        "new-keyfile-size"
  108 #define OPT_OFFSET          "offset"
  109 #define OPT_PANIC_ON_CORRUPTION     "panic-on-corruption"
  110 #define OPT_PBKDF           "pbkdf"
  111 #define OPT_PBKDF_FORCE_ITERATIONS  "pbkdf-force-iterations"
  112 #define OPT_PBKDF_MEMORY        "pbkdf-memory"
  113 #define OPT_PBKDF_PARALLEL      "pbkdf-parallel"
  114 #define OPT_PERF_NO_READ_WORKQUEUE  "perf-no_read_workqueue"
  115 #define OPT_PERF_NO_WRITE_WORKQUEUE "perf-no_write_workqueue"
  116 #define OPT_PERF_SAME_CPU_CRYPT     "perf-same_cpu_crypt"
  117 #define OPT_PERF_SUBMIT_FROM_CRYPT_CPUS "perf-submit_from_crypt_cpus"
  118 #define OPT_PERSISTENT          "persistent"
  119 #define OPT_PLUGIN          "plugin"
  120 #define OPT_PRIORITY            "priority"
  121 #define OPT_PROGRESS_FREQUENCY      "progress-frequency"
  122 #define OPT_READONLY            "readonly"
  123 #define OPT_REDUCE_DEVICE_SIZE      "reduce-device-size"
  124 #define OPT_REFRESH         "refresh"
  125 #define OPT_RESILIENCE          "resilience"
  126 #define OPT_RESILIENCE_HASH     "resilience-hash"
  127 #define OPT_RESTART_ON_CORRUPTION   "restart-on-corruption"
  128 #define OPT_RESUME_ONLY         "resume-only"
  129 #define OPT_ROOT_HASH_FILE      "root-hash-file"
  130 #define OPT_ROOT_HASH_SIGNATURE     "root-hash-signature"
  131 #define OPT_SALT            "salt"
  132 #define OPT_SECTOR_SIZE         "sector-size"
  133 #define OPT_SERIALIZE_MEMORY_HARD_PBKDF "serialize-memory-hard-pbkdf"
  134 #define OPT_SHARED          "shared"
  135 #define OPT_SIZE            "size"
  136 #define OPT_SKIP            "skip"
  137 #define OPT_SUBSYSTEM           "subsystem"
  138 #define OPT_TAG_SIZE            "tag-size"
  139 #define OPT_TCRYPT_BACKUP       "tcrypt-backup"
  140 #define OPT_TCRYPT_HIDDEN       "tcrypt-hidden"
  141 #define OPT_TCRYPT_SYSTEM       "tcrypt-system"
  142 #define OPT_TEST_ARGS           "test-args"
  143 #define OPT_TEST_PASSPHRASE     "test-passphrase"
  144 #define OPT_TIMEOUT         "timeout"
  145 #define OPT_TOKEN_ID            "token-id"
  146 #define OPT_TOKEN_ONLY          "token-only"
  147 #define OPT_TOKEN_TYPE          "token-type"
  148 #define OPT_TRIES           "tries"
  149 #define OPT_TYPE            "type"
  150 #define OPT_UNBOUND         "unbound"
  151 #define OPT_USE_DIRECTIO        "use-directio"
  152 #define OPT_USE_FSYNC           "use-fsync"
  153 #define OPT_USE_RANDOM          "use-random"
  154 #define OPT_USE_URANDOM         "use-urandom"
  155 #define OPT_UUID            "uuid"
  156 #define OPT_VERACRYPT           "veracrypt"
  157 #define OPT_VERACRYPT_PIM       "veracrypt-pim"
  158 #define OPT_VERACRYPT_QUERY_PIM     "veracrypt-query-pim"
  159 #define OPT_VERBOSE         "verbose"
  160 #define OPT_VERIFY_PASSPHRASE       "verify-passphrase"
  161 #define OPT_WRITE_LOG           "write-log"
  162 
  163 #endif