view src/lzfu.h @ 409:1c458f13d1d3 stable-0-6-76

fix template issue to build with gcc 11
author Carl Byington <carl@five-ten-sg.com>
date Sat, 27 Mar 2021 17:06:30 -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