summaryrefslogtreecommitdiff
path: root/xzlib.h
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-10-19 15:37:26 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-10-19 15:37:26 +0300
commit6c6e567eb34ad0f5a3bd90f6585c521543106401 (patch)
tree7f8dc62f12dd2b720ffdc738d393cd1a8f82921c /xzlib.h
parent7421ae696c1ef2fb48adc73ba8564ef2f276d618 (diff)
parent218d404f34d79a8837f9c0230dd9d9f1180b4068 (diff)
downloadlibxml2-pristine-tar.tar.gz
Merge branch 'pristine-tar' of git://anonscm.debian.org/debian-xml-sgml/libxml2 into pristine-tarpristine-tar
Diffstat (limited to 'xzlib.h')
-rw-r--r--xzlib.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/xzlib.h b/xzlib.h
new file mode 100644
index 0000000..29ba55e
--- /dev/null
+++ b/xzlib.h
@@ -0,0 +1,19 @@
+/**
+ * xzlib.h: header for the front end for the transparent suport of lzma
+ * compression at the I/O layer
+ *
+ * See Copyright for the status of this software.
+ *
+ * Anders F Bjorklund <afb@users.sourceforge.net>
+ */
+
+#ifndef LIBXML2_XZLIB_H
+#define LIBXML2_XZLIB_H
+typedef void *xzFile; /* opaque lzma file descriptor */
+
+xzFile __libxml2_xzopen(const char *path, const char *mode);
+xzFile __libxml2_xzdopen(int fd, const char *mode);
+int __libxml2_xzread(xzFile file, void *buf, unsigned len);
+int __libxml2_xzclose(xzFile file);
+int __libxml2_xzcompressed(xzFile f);
+#endif /* LIBXML2_XZLIB_H */