2009-03-26 16:41:14 +01:00
|
|
|
.\" $Id: libssh2_channel_handle_extended_data.3,v 1.2 2009/03/26 15:41:16 bagder Exp $
|
2007-06-13 22:09:15 +02:00
|
|
|
.\"
|
|
|
|
.TH libssh2_channel_handle_extended_data 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
|
|
|
.SH NAME
|
|
|
|
libssh2_channel_handle_extended_data - set extended data handling mode
|
|
|
|
.SH SYNOPSIS
|
|
|
|
#include <libssh2.h>
|
|
|
|
|
|
|
|
void
|
|
|
|
libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel, int ignore_mode);
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
2009-03-26 16:41:14 +01:00
|
|
|
This function is deprecated. Use the
|
|
|
|
\fIlibssh2_channel_handle_extended_data2(3)\fP function instead!
|
|
|
|
|
2007-06-13 22:09:15 +02:00
|
|
|
\fIchannel\fP - Active channel stream to change extended data handling on.
|
|
|
|
|
|
|
|
\fIignore_mode\fP - One of the three LIBSSH2_CHANNEL_EXTENDED_DATA_* Constants.
|
|
|
|
.br
|
|
|
|
\fBLIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL\fP: Queue extended data for eventual
|
|
|
|
reading
|
|
|
|
.br
|
2009-03-26 16:41:14 +01:00
|
|
|
\fBLIBSSH2_CHANNEL_EXTENDED_DATA_MERGE\fP: Treat extended data and ordinary
|
|
|
|
data the same. Merge all substreams such that calls to
|
|
|
|
\fIlibssh2_channel_read(3)\fP will pull from all substreams on a
|
|
|
|
first-in/first-out basis.
|
2007-06-13 22:09:15 +02:00
|
|
|
.br
|
|
|
|
\fBLIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE\fP: Discard all extended data as it
|
|
|
|
arrives.
|
|
|
|
|
2009-03-26 16:41:14 +01:00
|
|
|
Change how a channel deals with extended data packets. By default all extended
|
|
|
|
data is queued until read by \fIlibssh2_channel_read_ex(3)\fP
|
2007-06-13 22:09:15 +02:00
|
|
|
.SH RETURN VALUE
|
|
|
|
None.
|
|
|
|
.SH SEE ALSO
|
|
|
|
.BR libssh2_channel_handle_extended_data2(3)
|
|
|
|
.BR libssh2_channel_read_ex(3)
|