summaryrefslogtreecommitdiffstats
path: root/clzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:20 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-06 11:32:20 +0000
commit3d23a83fd1e0732d9103ceaf8fd30ac3aadf7035 (patch)
treef02d32497d7c5b913ef32a2270c498ed47a987d1 /clzip.h
parentAdding upstream version 1.1. (diff)
downloadclzip-8031b389b15110d1205d60822d09c0a22a59e58f.tar.xz
clzip-8031b389b15110d1205d60822d09c0a22a59e58f.zip
Adding upstream version 1.2.upstream/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 );