diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-06-26 20:49:54 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-06-26 20:49:54 +0300 |
commit | 65014fd211dfbd4be48685998cb5a12aaa29c8d2 (patch) | |
tree | 886df71738ce7d62bdc8bf229fb63b01bcce3f0c /src/xz/process.h | |
parent | Rename process_file() to coder_run(). (diff) | |
download | xz-65014fd211dfbd4be48685998cb5a12aaa29c8d2.tar.xz |
Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
to avoid problems on systems with system headers with those
names.
Diffstat (limited to 'src/xz/process.h')
-rw-r--r-- | src/xz/process.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/xz/process.h b/src/xz/process.h deleted file mode 100644 index aa8a4d83..00000000 --- a/src/xz/process.h +++ /dev/null @@ -1,57 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -// -/// \file process.h -/// \brief Compresses or uncompresses a file -// -// Author: Lasse Collin -// -// This file has been put into the public domain. -// You can do whatever you want with this file. -// -/////////////////////////////////////////////////////////////////////////////// - -enum operation_mode { - MODE_COMPRESS, - MODE_DECOMPRESS, - MODE_TEST, - MODE_LIST, -}; - - -// NOTE: The order of these is significant in suffix.c. -enum format_type { - FORMAT_AUTO, - FORMAT_XZ, - FORMAT_LZMA, - // HEADER_GZIP, - FORMAT_RAW, -}; - - -/// Operation mode of the command line tool. This is set in args.c and read -/// in several files. -extern enum operation_mode opt_mode; - -/// File format to use when encoding or what format(s) to accept when -/// decoding. This is a global because it's needed also in suffix.c. -/// This is set in args.c. -extern enum format_type opt_format; - - -/// Set the integrity check type used when compressing -extern void coder_set_check(lzma_check check); - -/// Set preset number -extern void coder_set_preset(size_t new_preset); - -/// Enable extreme mode -extern void coder_set_extreme(void); - -/// Add a filter to the custom filter chain -extern void coder_add_filter(lzma_vli id, void *options); - -/// -extern void coder_set_compression_settings(void); - -/// Compress or decompress the given file -extern void coder_run(const char *filename); |