Z_DECOMP_INIT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

z_decomp_init - initialize a previously-allocated decompressor.  

SYNOPSIS

"SYNOPSIS"

int z_decomp_init (void * arg, unsigned char * options, int opt_len, int unit, int hdrlen, int mru, int debug);  

ARGUMENTS

arg
pointer to the private state for the decompressor
options
pointer to the CCP option data describing the compression that was negotiated with the peer
opt_len
length of the CCP option data at options
unit
PPP unit number for diagnostic messages
hdrlen
ignored (present for backwards compatibility)
mru
maximum length of decompressed packets
debug
debug flag; if non-zero, debug messages are printed.
 

DESCRIPTION

The CCP options described by options must match the options specified when the decompressor was allocated. The decompressor history is reset. Returns 0 for failure (CCP options don't match) or 1 for success.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:03:02 GMT, October 09, 2005