mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
b06cfb30d8
* Initial smallz4 support, related to #19849 * Patch smallz4 to return -1 on error (as opposed to just exit) * Add new function 'unlz4Block_userPtr' that can decompress an lz4 block * New '--with-smallz4' flag to compile and use smallz4 instead of lz4 * Reuse the new unlz4Block_userPtr function to remove duplicate code from unlz4_userPtr in smallz4 * smallz4: remove patch, format small4cat.c properly
4 lines
289 B
C
4 lines
289 B
C
typedef unsigned char (*GET_BYTE) (void* userPtr);
|
|
typedef void (*SEND_BYTES)(const unsigned char*, unsigned int, void* userPtr);
|
|
int unlz4Block_userPtr (GET_BYTE getByte, SEND_BYTES sendBytes, void *userPtr, unsigned int blockSize, unsigned int *position, unsigned char *hist);
|