aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/uzlib/src/tinf_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/uzlib/src/tinf_compat.h')
-rw-r--r--test/monniaux/uzlib/src/tinf_compat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/monniaux/uzlib/src/tinf_compat.h b/test/monniaux/uzlib/src/tinf_compat.h
new file mode 100644
index 00000000..f763804b
--- /dev/null
+++ b/test/monniaux/uzlib/src/tinf_compat.h
@@ -0,0 +1,9 @@
+/* This header contains compatibility defines for the original tinf API
+ and uzlib 2.x and below API. These defines are deprecated and going
+ to be removed in the future, so applications should migrate to new
+ uzlib API. */
+#define TINF_DATA struct uzlib_uncomp
+
+#define destSize dest_size
+#define destStart dest_start
+#define readSource source_read_cb