]> wimlib.net Git - wimlib/blobdiff - include/wimlib/lzx.h
LZX: Allow max_block_size not a power of 2
[wimlib] / include / wimlib / lzx.h
index 67fb3561d94f5744a150c1bc8de6c0a7e7b38cd0..97d4a691c62ab46f13de4a66840af687a8b99d58 100644 (file)
@@ -65,8 +65,9 @@ lzx_get_position_slot_raw(u32 formatted_offset)
        }
 }
 
-extern bool lzx_window_size_valid(size_t window_size);
-extern unsigned lzx_get_num_main_syms(u32 window_size);
+extern unsigned lzx_get_window_order(size_t max_block_size);
+
+extern unsigned lzx_get_num_main_syms(unsigned window_order);
 
 /* Least-recently used queue for match offsets.  */
 struct lzx_lru_queue {