diff options
Diffstat (limited to 'chromium/third_party/libxml/src/include/private/xzlib.h')
-rw-r--r-- | chromium/third_party/libxml/src/include/private/xzlib.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/third_party/libxml/src/include/private/xzlib.h b/chromium/third_party/libxml/src/include/private/xzlib.h new file mode 100644 index 00000000000..001854e5ce7 --- /dev/null +++ b/chromium/third_party/libxml/src/include/private/xzlib.h @@ -0,0 +1,27 @@ +/** + * xzlib.h: header for the front end for the transparent support 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 + +#include <libxml/xmlversion.h> + +#ifdef LIBXML_LZMA_ENABLED + +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 /* LIBXML_LZMA_ENABLED */ + +#endif /* LIBXML2_XZLIB_H */ |