Mercurial > libpst
view src/lzfu.h @ 195:320cfcba8058
add python module interface to the shared library for easy scripting.
the shared library must never write to stdout or stderr.
fix pst_attach_to_mem so the caller does not need to initialize the buffer pointer.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 20 Apr 2009 19:39:26 -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