summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:57:26 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 07:57:26 +0000
commit8a76c9b32d69a7ed69fcf6f7c1f63cdda5799477 (patch)
tree15550f418af4d1d04f50a94338a04ee7c16a7fcb /lzip.h
parentAdding debian version 1.11-5. (diff)
downloadlzip-8a76c9b32d69a7ed69fcf6f7c1f63cdda5799477.tar.xz
lzip-8a76c9b32d69a7ed69fcf6f7c1f63cdda5799477.zip
Merging upstream version 1.12.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lzip.h')
-rw-r--r--lzip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lzip.h b/lzip.h
index 77ba0e8..a580b3e 100644
--- a/lzip.h
+++ b/lzip.h
@@ -1,5 +1,5 @@
/* Lzip - Data compressor based on the LZMA algorithm
- Copyright (C) 2008, 2009, 2010 Antonio Diaz Diaz.
+ Copyright (C) 2008, 2009, 2010, 2011 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -54,6 +54,7 @@ public:
}
};
+
enum {
min_dictionary_bits = 12,
min_dictionary_size = 1 << min_dictionary_bits,
@@ -280,5 +281,7 @@ struct Error
void show_error( const char * const msg, const int errcode = 0,
const bool help = false ) throw();
void internal_error( const char * const msg );
+
+// defined in decoder.cc
int readblock( const int fd, uint8_t * const buf, const int size ) throw();
int writeblock( const int fd, const uint8_t * const buf, const int size ) throw();