view src/lzfu.h @ 386:f1f9920cc7b1

Add AM_GNU_GETTEXT macros AM_ICONV relies on config.rpath and autopoint/gettextize will only copy these in when the AM_GNU_GETTEXT macros are present. This is needed for the next commit that deletes config.rpath since it is cruft that should be copied in by autotools not embedded. Run autopoint to copy in config.rpath and leave it to automake to copy into the tarball.
author Paul Wise <pabs3@bonedaddy.net>
date Sat, 21 Dec 2019 21:25:44 +0800
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