Z_COMPRESS
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
z_compress - compress a PPP packet with Deflate compression.
SYNOPSIS
"SYNOPSIS"
int z_compress (void * arg, unsigned char * rptr, unsigned char * obuf, int isize, int osize);
ARGUMENTS
- arg
-
pointer to private state for the compressor
- rptr
-
uncompressed packet (input)
- obuf
-
compressed packet (output)
- isize
-
size of uncompressed packet
- osize
-
space available at obuf
DESCRIPTION
Returns the length of the compressed packet, or 0 if the
packet is incompressible.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:03:02 GMT, October 09, 2005