1adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard/**
2adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard * xzlib.h: header for the front end for the transparent suport of lzma
3adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard *          compression at the I/O layer
4adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard *
5adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard * See Copyright for the status of this software.
6adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard *
7adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard * Anders F Bjorklund <afb@users.sourceforge.net>
8adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard */
96bdc774350d11117849a53f7baf2bb7e26b00009Anders F Bjorklund
10adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard#ifndef LIBXML2_XZLIB_H
11adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard#define LIBXML2_XZLIB_H
12adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillardtypedef void *xzFile;           /* opaque lzma file descriptor */
13adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard
14adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel VeillardxzFile __libxml2_xzopen(const char *path, const char *mode);
15adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel VeillardxzFile __libxml2_xzdopen(int fd, const char *mode);
16adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillardint __libxml2_xzread(xzFile file, void *buf, unsigned len);
17adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillardint __libxml2_xzclose(xzFile file);
1863588f476f2dc89d4c6ef70a474d7230fbf4d45eDaniel Veillardint __libxml2_xzcompressed(xzFile f);
19adf5ec9496828b18e683fb23bd1e670824cfb6d0Daniel Veillard#endif /* LIBXML2_XZLIB_H */
20