From d296515f4777d1e4b7d78e6aa8ea698162bfbc2b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 12:52:38 +0100 Subject: Merging upstream version 1.18~pre1. Signed-off-by: Daniel Baumann --- lzip.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lzip.h') diff --git a/lzip.h b/lzip.h index 3450d7c..e46b9b8 100644 --- a/lzip.h +++ b/lzip.h @@ -289,6 +289,7 @@ int seek_read( const int fd, uint8_t * const buf, const int size, // defined in main.cc int open_instream( const char * const name, struct stat * const in_statsp, const bool no_ofile, const bool reg_only = false ); +bool file_exists( const std::string & filename ); int open_outstream_rw( const std::string & output_filename, const bool force ); void show_header( const unsigned dictionary_size ); void show_error( const char * const msg, const int errcode = 0, @@ -322,6 +323,9 @@ int repair_file( const std::string & input_filename, const bool force ); int debug_repair( const std::string & input_filename, const long long bad_pos, const int verbosity, const uint8_t bad_value ); +int debug_show_packets( const std::string & input_filename, + const long long bad_pos, const int verbosity, + const uint8_t bad_value ); // defined in split.cc int split_file( const std::string & input_filename, -- cgit v1.2.3