1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-10-31 23:30:25 +03:00

decomp: cleaned off old compression stuff

I cleared off legacy code from when the compression and decompression
functions were a single unified function. Makes the code easier to read
too.
This commit is contained in:
Daniel Stenberg
2010-11-03 14:52:42 +01:00
parent 7603c0f854
commit a6fc9aeec9
3 changed files with 23 additions and 37 deletions

View File

@@ -890,7 +890,7 @@ struct _LIBSSH2_COMP_METHOD
const unsigned char *src,
size_t src_len,
void **abstract);
int (*decomp) (LIBSSH2_SESSION *session, int compress,
int (*decomp) (LIBSSH2_SESSION *session,
unsigned char **dest,
size_t *dest_len, size_t payload_limit,
int *free_dest, const unsigned char *src,