ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzf.h
(Generate patch)

Comparing liblzf/lzf.h (file contents):
Revision 1.15 by root, Mon Dec 10 18:59:08 2012 UTC vs.
Revision 1.16 by root, Mon Dec 10 20:21:28 2012 UTC

53 * in_data and write the result to out_data, up to a maximum length 53 * in_data and write the result to out_data, up to a maximum length
54 * of out_len bytes. 54 * of out_len bytes.
55 * 55 *
56 * If the output buffer is not large enough or any error occurs return 0, 56 * If the output buffer is not large enough or any error occurs return 0,
57 * otherwise return the number of bytes used, which might be considerably 57 * otherwise return the number of bytes used, which might be considerably
58 * more than in_len (but less than 104% of the original size), so it 58 * more than in_len (but less than 1 + 104% of the original size), so it
59 * makes sense to always use out_len == in_len - 1), to ensure _some_ 59 * makes sense to always use out_len == in_len - 1), to ensure _some_
60 * compression, and store the data uncompressed otherwise (with a flag, of 60 * compression, and store the data uncompressed otherwise (with a flag, of
61 * course. 61 * course.
62 * 62 *
63 * lzf_compress might use different algorithms on different systems and 63 * lzf_compress might use different algorithms on different systems and

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines