aboutsummaryrefslogtreecommitdiff
path: root/src/lzma/args.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-10-02 22:51:46 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-10-02 22:51:46 +0300
commitbd137524f2f50e30ba054f42f1f6536cd3cee920 (patch)
treee28ca9e83380e9d7089d5dae4499df1967b5c064 /src/lzma/args.h
parentRenamed the test files from .lzma suffix to .xz suffix. (diff)
downloadxz-bd137524f2f50e30ba054f42f1f6536cd3cee920.tar.xz
Initial changes to change the suffix of the new format to .xz.
This also fixes a bug related to --suffix option. Some issues with suffixes with --format=raw were not fixed.
Diffstat (limited to '')
-rw-r--r--src/lzma/args.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lzma/args.h b/src/lzma/args.h
index abc810cb..587b280f 100644
--- a/src/lzma/args.h
+++ b/src/lzma/args.h
@@ -30,12 +30,13 @@ enum tool_mode {
MODE_LIST,
};
-enum header_type {
- HEADER_AUTO,
- HEADER_NATIVE,
- HEADER_ALONE,
+// NOTE: The order of these is significant in suffix.c.
+enum format_type {
+ FORMAT_AUTO,
+ FORMAT_XZ,
+ FORMAT_LZMA,
// HEADER_GZIP,
- HEADER_RAW,
+ FORMAT_RAW,
};
@@ -51,7 +52,7 @@ extern bool opt_keep_original;
extern bool opt_preserve_name;
// extern bool opt_recursive;
extern enum tool_mode opt_mode;
-extern enum header_type opt_header;
+extern enum format_type opt_format;
extern lzma_check opt_check;
extern lzma_filter opt_filters[8];