Mercurial > libpst
annotate src/lzfu.h @ 225:9859474779da
fix ax_python as done in libtorrent
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 23 Jun 2009 16:12:10 -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 |