annotate src/lzfu.h @ 300:47abe56076da

embedded rfc822 messages might contain rtf encoded bodies
author Carl Byington <carl@five-ten-sg.com>
date Fri, 04 Nov 2011 14:09:50 -0700
parents cf3df962f1e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
1 #ifndef LZFU_H
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
2 #define LZFU_H
41
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
3
193
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
4 /** decompress lz compressed rtf data. The initial lz dictionary is preloaded
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
5 with rtf specific data.
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
6 * @param rtfcomp pointer to the rtf compressed data
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
7 * @param compsize size of the compressed data buffer
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
8 * @param size pointer to location to return size of the output buffer
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
9 * @return pointer to the output buffer containing the decompressed data.
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
10 * The caller must free this buffer.
cf3df962f1e5 prep for fedora build
Carl Byington <carl@five-ten-sg.com>
parents: 172
diff changeset
11 */
172
6954d315aaa8 move version-info into main configure.in, and set it properly.
Carl Byington <carl@five-ten-sg.com>
parents: 75
diff changeset
12 char* pst_lzfu_decompress (char* rtfcomp, uint32_t compsize, size_t *size);
41
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
13
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
14 #endif