]> wimlib.net Git - wimlib/blobdiff - include/wimlib/compress.h
Fix error/warning conditional
[wimlib] / include / wimlib / compress.h
index f3ce6e2deb834921589d14593084c5829819e3b5..5f259e83b2b2da76d4b92327aa88cd18921a8658 100644 (file)
@@ -61,7 +61,7 @@ flush_output_bitstream(struct output_bitstream *ostream);
 
 extern void
 bitstream_put_bits(struct output_bitstream *ostream,
-                  output_bitbuf_t bits, unsigned num_bits);
+                  u32 bits, unsigned num_bits);
 
 extern void
 bitstream_put_byte(struct output_bitstream *ostream, u8 n);
@@ -69,6 +69,7 @@ bitstream_put_byte(struct output_bitstream *ostream, u8 n);
 struct lz_params {
        unsigned min_match;
        unsigned max_match;
+       unsigned max_offset;
        unsigned nice_match;
        unsigned good_match;
        unsigned max_chain_len;
@@ -85,7 +86,8 @@ lz_analyze_block(const u8 window[],
                 lz_record_match_t record_match,
                 lz_record_literal_t record_literal,
                 void *record_ctx,
-                const struct lz_params *params);
+                const struct lz_params *params,
+                input_idx_t prev_tab[]);
 
 extern void
 make_canonical_huffman_code(unsigned num_syms,