8#ifndef __N__Z_LIB_HEADER
9#define __N__Z_LIB_HEADER
25int CompressData(
unsigned char *abSrc,
unsigned int nLenSrc,
unsigned char *abDst,
unsigned int nLenDst );
26int UncompressData(
unsigned char *abSrc,
unsigned int nLenSrc,
unsigned char *abDst,
unsigned int nLenDst );
A box including a string and his lenght.
int GetMaxCompressedLen(unsigned int nLenSrc)
Return the maximum compressed size.
int CompressData(unsigned char *abSrc, unsigned int nLenSrc, unsigned char *abDst, unsigned int nLenDst)
Compress a string to another.
int UncompressData(unsigned char *abSrc, unsigned int nLenSrc, unsigned char *abDst, unsigned int nLenDst)
Uncompress a string to another.
N_STR * unzip_nstr(N_STR *src)
return an uncompressed version of src
N_STR * zip_nstr(N_STR *src)
return a compressed version of src
N_STR and string function declaration.