summaryrefslogtreecommitdiff
path: root/lzo/include/lzo/lzo1x.h
diff options
context:
space:
mode:
Diffstat (limited to 'lzo/include/lzo/lzo1x.h')
-rw-r--r--lzo/include/lzo/lzo1x.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/lzo/include/lzo/lzo1x.h b/lzo/include/lzo/lzo1x.h
index 5b7cad74..9bb993cc 100644
--- a/lzo/include/lzo/lzo1x.h
+++ b/lzo/include/lzo/lzo1x.h
@@ -2,6 +2,9 @@
This file is part of the LZO real-time data compression library.
+ Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
@@ -39,7 +42,7 @@
#ifndef __LZO1X_H_INCLUDED
-#define __LZO1X_H_INCLUDED
+#define __LZO1X_H_INCLUDED 1
#ifndef __LZOCONF_H_INCLUDED
#include "lzoconf.h"
@@ -92,7 +95,7 @@ lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len,
// special compressor versions
************************************************************************/
-/* this version needs only 8 kB work memory */
+/* this version needs only 8 KiB work memory */
#define LZO1X_1_11_MEM_COMPRESS ((lzo_uint32) (2048L * lzo_sizeof_dict_t))
LZO_EXTERN(int)
@@ -101,7 +104,7 @@ lzo1x_1_11_compress ( const lzo_bytep src, lzo_uint src_len,
lzo_voidp wrkmem );
-/* this version needs 16 kB work memory */
+/* this version needs 16 KiB work memory */
#define LZO1X_1_12_MEM_COMPRESS ((lzo_uint32) (4096L * lzo_sizeof_dict_t))
LZO_EXTERN(int)
@@ -136,22 +139,22 @@ lzo1x_999_compress ( const lzo_bytep src, lzo_uint src_len,
************************************************************************/
LZO_EXTERN(int)
-lzo1x_999_compress_dict ( const lzo_bytep in , lzo_uint in_len,
- lzo_bytep out, lzo_uintp out_len,
+lzo1x_999_compress_dict ( const lzo_bytep src, lzo_uint src_len,
+ lzo_bytep dst, lzo_uintp dst_len,
lzo_voidp wrkmem,
const lzo_bytep dict, lzo_uint dict_len );
LZO_EXTERN(int)
-lzo1x_999_compress_level ( const lzo_bytep in , lzo_uint in_len,
- lzo_bytep out, lzo_uintp out_len,
+lzo1x_999_compress_level ( const lzo_bytep src, lzo_uint src_len,
+ lzo_bytep dst, lzo_uintp dst_len,
lzo_voidp wrkmem,
const lzo_bytep dict, lzo_uint dict_len,
lzo_callback_p cb,
int compression_level );
LZO_EXTERN(int)
-lzo1x_decompress_dict_safe ( const lzo_bytep in, lzo_uint in_len,
- lzo_bytep out, lzo_uintp out_len,
+lzo1x_decompress_dict_safe ( const lzo_bytep src, lzo_uint src_len,
+ lzo_bytep dst, lzo_uintp dst_len,
lzo_voidp wrkmem /* NOT USED */,
const lzo_bytep dict, lzo_uint dict_len );
@@ -161,8 +164,8 @@ lzo1x_decompress_dict_safe ( const lzo_bytep in, lzo_uint in_len,
************************************************************************/
LZO_EXTERN(int)
-lzo1x_optimize ( lzo_bytep in , lzo_uint in_len,
- lzo_bytep out, lzo_uintp out_len,
+lzo1x_optimize ( lzo_bytep src, lzo_uint src_len,
+ lzo_bytep dst, lzo_uintp dst_len,
lzo_voidp wrkmem /* NOT USED */ );