summaryrefslogtreecommitdiff
path: root/src/lbx_zlib/lbx_zlib.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:42 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:42 +0000
commit8b10a2ded643db068ef4d08259322e6383909670 (patch)
tree767ecacdd4d686c7853dcf97ba4ab9bbf6b61538 /src/lbx_zlib/lbx_zlib.h
parentc16c03b7f3122a65027dd5ac06fee18455dcdee9 (diff)
Diffstat (limited to 'src/lbx_zlib/lbx_zlib.h')
-rw-r--r--src/lbx_zlib/lbx_zlib.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lbx_zlib/lbx_zlib.h b/src/lbx_zlib/lbx_zlib.h
index 04b1364..029fd29 100644
--- a/src/lbx_zlib/lbx_zlib.h
+++ b/src/lbx_zlib/lbx_zlib.h
@@ -50,8 +50,10 @@ from The Open Group.
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+/* $XFree86: xc/lib/lbxutil/lbx_zlib/lbx_zlib.h,v 1.10 2001/12/14 19:57:00 dawes Exp $ */
#include "zlib.h"
+#include "Xfuncproto.h"
struct compress_private {
z_stream stream;
@@ -94,7 +96,11 @@ struct iovec {
};
#else
+#ifndef Lynx
#include <sys/uio.h>
+#else
+#include <uio.h>
+#endif
#endif
#ifdef WIN32
@@ -107,3 +113,13 @@ struct iovec {
#undef BOOL
#define EWOULDBLOCK WSAEWOULDBLOCK
#endif
+
+
+/* lbx_zlib_io.c */
+extern int GetInputPtr ( int fd, ZlibBufferPtr inbuf, int reqlen,
+ unsigned char **ppkt );
+extern int StuffInput ( ZlibBufferPtr inbuf, unsigned char *pkt, int reqlen );
+extern void FreeInput ( ZlibBufferPtr inbuf, int len );
+extern void CommitOutBuf ( ZlibBufferPtr outbuf, int outlen );
+extern int FlushOutBuf ( int fd, ZlibBufferPtr outbuf );
+extern int FlushIovBuf ( int fd, struct iovec *iovbuf );