--- liblzf/lzf.h 2004/01/29 18:57:50 1.6 +++ liblzf/lzf.h 2004/12/08 16:38:49 1.8 @@ -24,6 +24,16 @@ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH- * ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. + * + * Alternatively, the contents of this file may be used under the terms of + * the GNU General Public License version 2 (the "GPL"), in which case the + * provisions of the GPL are applicable instead of the above. If you wish to + * allow the use of your version of this file only under the terms of the + * GPL and not to allow others to use your version of this file under the + * BSD license, indicate your decision by deleting the provisions above and + * replace them with the notice and other provisions required by the GPL. If + * you do not delete the provisions above, a recipient may use your version + * of this file under either the BSD or the GPL. */ #ifndef LZF_H @@ -46,7 +56,8 @@ * If the output buffer is not large enough or any error occurs * return 0, otherwise return the number of bytes used (which might * be considerably larger than in_len, so it makes sense to always - * use out_len == in_len). + * use out_len == in_len - 1), to ensure _some_ compression, and store + * the data uncompressed otherwise. * * lzf_compress might use different algorithms on different systems and * thus might result in different compressed strings depending on the