Go to the source code of this file.
void* openvas_compress |
( |
const void * |
src, |
|
|
unsigned long |
srclen, |
|
|
unsigned long * |
dstlen |
|
) |
| |
Compresses data in src buffer.
- Parameters
-
[in] | src | Buffer of data to compress. |
[in] | srclen | Length of data to compress. |
[out] | dstlen | Length of compressed data. |
- Returns
- Pointer to compressed data if success, NULL otherwise.
void* openvas_uncompress |
( |
const void * |
src, |
|
|
unsigned long |
srclen, |
|
|
unsigned long * |
dstlen |
|
) |
| |
Uncompresses data in src buffer.
- Parameters
-
[in] | src | Buffer of data to uncompress. |
[in] | srclen | Length of data to uncompress. |
[out] | dstlen | Length of uncompressed data. |
- Returns
- Pointer to uncompressed data if success, NULL otherwise.