Daniel Veillard | adf5ec9 | 2012-01-26 16:56:22 +0800 | [diff] [blame] | 1 | /** |
| 2 | * xzlib.h: header for the front end for the transparent suport of lzma |
| 3 | * compression at the I/O layer |
| 4 | * |
| 5 | * See Copyright for the status of this software. |
| 6 | * |
| 7 | * Anders F Bjorklund <afb@users.sourceforge.net> |
| 8 | */ |
Anders F Bjorklund | 6bdc774 | 2011-09-19 09:53:20 +0200 | [diff] [blame] | 9 | |
Daniel Veillard | adf5ec9 | 2012-01-26 16:56:22 +0800 | [diff] [blame] | 10 | #ifndef LIBXML2_XZLIB_H |
| 11 | #define LIBXML2_XZLIB_H |
| 12 | typedef void *xzFile; /* opaque lzma file descriptor */ |
| 13 | |
| 14 | xzFile __libxml2_xzopen(const char *path, const char *mode); |
| 15 | xzFile __libxml2_xzdopen(int fd, const char *mode); |
| 16 | int __libxml2_xzread(xzFile file, void *buf, unsigned len); |
| 17 | int __libxml2_xzclose(xzFile file); |
Daniel Veillard | 63588f4 | 2013-05-10 14:01:46 +0800 | [diff] [blame] | 18 | int __libxml2_xzcompressed(xzFile f); |
Daniel Veillard | adf5ec9 | 2012-01-26 16:56:22 +0800 | [diff] [blame] | 19 | #endif /* LIBXML2_XZLIB_H */ |