Z_COMP_INIT

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

 

NAME

z_comp_init - initialize a previously-allocated compressor.  

SYNOPSIS

"SYNOPSIS"

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

ARGUMENTS

arg
pointer to the private state for the compressor
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)
debug
debug flag; if non-zero, debug messages are printed.
 

DESCRIPTION

The CCP options described by options must match the options specified when the compressor was allocated. The compressor 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: 05:31:05 GMT, October 06, 2005