blob: 29ba55e740bcab381a84fc574ecdb65efd475f7c [file] [log] [blame]
Daniel Veillardadf5ec92012-01-26 16:56:22 +08001/**
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 Bjorklund6bdc7742011-09-19 09:53:20 +02009
Daniel Veillardadf5ec92012-01-26 16:56:22 +080010#ifndef LIBXML2_XZLIB_H
11#define LIBXML2_XZLIB_H
12typedef void *xzFile; /* opaque lzma file descriptor */
13
14xzFile __libxml2_xzopen(const char *path, const char *mode);
15xzFile __libxml2_xzdopen(int fd, const char *mode);
16int __libxml2_xzread(xzFile file, void *buf, unsigned len);
17int __libxml2_xzclose(xzFile file);
Daniel Veillard63588f42013-05-10 14:01:46 +080018int __libxml2_xzcompressed(xzFile f);
Daniel Veillardadf5ec92012-01-26 16:56:22 +080019#endif /* LIBXML2_XZLIB_H */