summaryrefslogtreecommitdiffstats
path: root/clzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:29 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:29 +0000
commit1ca0d3282eb7fd0872b93f18e4923b3f44f2f179 (patch)
tree3fe74ab2a59a6e2fc7ea35b993488cbc80d4135e /clzip.h
parentAdding debian version 1.1-2. (diff)
downloadclzip-1ca0d3282eb7fd0872b93f18e4923b3f44f2f179.tar.xz
clzip-1ca0d3282eb7fd0872b93f18e4923b3f44f2f179.zip
Merging upstream version 1.2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'clzip.h')
-rw-r--r--clzip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clzip.h b/clzip.h
index 3a7fc4a..b534d66 100644
--- a/clzip.h
+++ b/clzip.h
@@ -56,6 +56,7 @@ static inline void St_set_short_rep( State * const st )
*st = next[*st];
}
+
enum {
min_dictionary_bits = 12,
min_dictionary_size = 1 << min_dictionary_bits,
@@ -277,5 +278,7 @@ static inline void Ft_set_member_size( File_trailer data, long long sz )
void cleanup_and_fail( const int retval );
void show_error( const char * const msg, const int errcode, const bool help );
void internal_error( const char * const msg );
+
+/* defined in decoder.c */
int readblock( const int fd, uint8_t * const buf, const int size );
int writeblock( const int fd, const uint8_t * const buf, const int size );