Skip to content

Commit

Permalink
Add LZ4_setStreamDecode
Browse files Browse the repository at this point in the history
  • Loading branch information
REDxEYE committed Apr 30, 2024
1 parent 418855f commit df1d7df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lz4-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,14 @@ extern "C" {
// int LZ4_freeStream(LZ4_stream_t* LZ4_streamPtr)
pub fn LZ4_freeStream(LZ4_stream: *mut LZ4StreamEncode) -> c_int;

// int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode,
// const char* dictionary,
// int dictSize)
pub fn LZ4_setStreamDecode(LZ4_streamDecode: *mut LZ4StreamDecode,
dictionary: *mut c_char,
dictSize: c_int)
-> c_int;

// LZ4_streamDecode_t* LZ4_createStreamDecode(void)
pub fn LZ4_createStreamDecode() -> *mut LZ4StreamDecode;

Expand Down

0 comments on commit df1d7df

Please sign in to comment.