.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "Z_DECOMP_ALLOC" "" "06 October 2005" "" ""
.SH NAME
z_decomp_alloc \- allocate space for a decompressor.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void * z_decomp_alloc (unsigned char * \fIoptions\fB, int \fIopt_len\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIoptions\fB\fR
pointer to CCP option data
.TP
\fB\fIopt_len\fB\fR
length of the CCP option at \fIoptions\fR\&.
.SH "DESCRIPTION"
.PP
The \fIoptions\fR 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 we are requesting the peer to use in compressing
data to be sent to us.
.PP
Returns the pointer to the private state for the decompressor,
or NULL if we could not allocate enough memory.