Z_COMP_ALLOC

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

 

NAME

z_comp_alloc - allocate space for a compressor.  

SYNOPSIS

"SYNOPSIS"

void * z_comp_alloc (unsigned char * options, int opt_len);  

ARGUMENTS

options
pointer to CCP option data
opt_len
length of the CCP option at options.
 

DESCRIPTION

The options pointer points to the a buffer containing the CCP option data for the compression being negotiated. It is formatted according to RFC1979, and describes the window size that the peer is requesting that we use in compressing data to be sent to it.

Returns the pointer to the private state for the compressor, or NULL if we could not allocate enough memory.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:31:05 GMT, October 06, 2005