Mercurial > libpst
view src/lzfu.h @ 358:6abc3054cba2
From Jeffrey Morlan:
If a readpst child process fails with a nonzero status code for
whatever reason (killed, segfault, out-of-memory, ...) the parent
process will continue and likely end up exiting with status 0,
tricking the caller into thinking readpst was successful when it was
not.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 06 Jul 2016 10:19:01 -0700 |
parents | cf3df962f1e5 |
children |
line wrap: on
line source
#ifndef LZFU_H #define LZFU_H /** decompress lz compressed rtf data. The initial lz dictionary is preloaded with rtf specific data. * @param rtfcomp pointer to the rtf compressed data * @param compsize size of the compressed data buffer * @param size pointer to location to return size of the output buffer * @return pointer to the output buffer containing the decompressed data. * The caller must free this buffer. */ char* pst_lzfu_decompress (char* rtfcomp, uint32_t compsize, size_t *size); #endif