Mercurial > libpst
annotate src/lzfu.h @ 227:adf1db1f0b19
Added tag stable-0-6-41 for changeset bfc35fd55254
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 23 Jun 2009 20:41:00 -0700 |
parents | cf3df962f1e5 |
children |
rev | line source |
---|---|
16 | 1 #ifndef LZFU_H |
2 #define LZFU_H | |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
3 |
193 | 4 /** decompress lz compressed rtf data. The initial lz dictionary is preloaded |
5 with rtf specific data. | |
6 * @param rtfcomp pointer to the rtf compressed data | |
7 * @param compsize size of the compressed data buffer | |
8 * @param size pointer to location to return size of the output buffer | |
9 * @return pointer to the output buffer containing the decompressed data. | |
10 * The caller must free this buffer. | |
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 |