diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:10:17 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:10:17 (GMT) |
commit | 574585fa78070b0cc6b5ad22543e21a3502a122b (patch) | |
tree | 0e96ee0e38f68bcd7662e7815f96e0151740056f /xzlib.h | |
download | blt-574585fa78070b0cc6b5ad22543e21a3502a122b.zip blt-574585fa78070b0cc6b5ad22543e21a3502a122b.tar.gz blt-574585fa78070b0cc6b5ad22543e21a3502a122b.tar.bz2 |
Squashed 'libxml2/' content from commit d9321d2
git-subtree-dir: libxml2
git-subtree-split: d9321d23d75a97f655f9325007ea7837f101100f
Diffstat (limited to 'xzlib.h')
-rw-r--r-- | xzlib.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +/** + * xzlib.h: header for the front end for the transparent suport 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 +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 /* LIBXML2_XZLIB_H */ |