QP_prepare_stream() #include <quintus/quintus.h>
void QP_prepare_stream(stream, buffer)
QP_stream *stream;
unsigned char *buffer;
Initialize internal fields of a QP_stream structure.
QP_prepare_stream() should be called
after other fields in QP_stream are properly set up.
The first parameter is a pointer to QP_stream and the second
parameter is the address of the input/output buffer for the stream.
Here &stream->qpinfo is used to get the corresponding
QP_stream pointer from stream although a casting
operation of QP_stream *stream will have the same effect.
QP_prepare_stream(&stream->qpinfo, stream->buffer);
QP_fdopen(),
QP_fopen(),
open/[3,4],
fli-ios-cps-ire