summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:39:57 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:39:57 +0000
commit231e63aa0df4768b134f65c272a33c6a123a36bb (patch)
treeaf4d9cab220d8e7056a5e8394ed23a01632fca17 /lzip.h
parentAdding debian version 1.2-3. (diff)
downloadplzip-231e63aa0df4768b134f65c272a33c6a123a36bb.tar.xz
plzip-231e63aa0df4768b134f65c272a33c6a123a36bb.zip
Merging upstream version 1.3~pre1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lzip.h')
-rw-r--r--lzip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lzip.h b/lzip.h
index df05905..eff9367 100644
--- a/lzip.h
+++ b/lzip.h
@@ -162,7 +162,7 @@ void xwait( pthread_cond_t * const cond, pthread_mutex_t * const mutex );
void xsignal( pthread_cond_t * const cond );
void xbroadcast( pthread_cond_t * const cond );
int compress( const int data_size, const int dictionary_size,
- const int match_len_limit, int num_workers,
+ const int match_len_limit, const int num_workers,
const int infd, const int outfd,
const Pretty_print & pp, const int debug_level );
@@ -176,8 +176,7 @@ int dec_stdout( const int num_workers, const int infd, const int outfd,
// defined in dec_stream.cc
int dec_stream( const int num_workers, const int infd, const int outfd,
- const Pretty_print & pp, const int debug_level,
- const bool testing );
+ const Pretty_print & pp, const int debug_level );
// defined in decompress.cc
int preadblock( const int fd, uint8_t * const buf, const int size,
@@ -188,11 +187,12 @@ int decompress_read_error( struct LZ_Decoder * const decoder,
const Pretty_print & pp, const int worker_id );
int decompress( int num_workers, const int infd, const int outfd,
const Pretty_print & pp, const int debug_level,
- const bool testing, const bool infd_isreg );
+ const bool infd_isreg );
// defined in main.cc
extern int verbosity;
void cleanup_and_fail( const int retval = 1 ); // terminate the program
+void show_header( const unsigned dictionary_size );
void show_error( const char * const msg, const int errcode = 0,
const bool help = false );
void internal_error( const char * const msg );