• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * xzlib.h: header for the front end for the transparent support 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  */
9 
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);
18 int __libxml2_xzcompressed(xzFile f);
19 #endif /* LIBXML2_XZLIB_H */
20