From bd137524f2f50e30ba054f42f1f6536cd3cee920 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 2 Oct 2008 22:51:46 +0300 Subject: 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. --- src/lzma/args.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/lzma/args.h') 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]; -- cgit v1.2.3