libssh2_channel_handle_extended_data.3 (1260B)
1.TH libssh2_channel_handle_extended_data 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_channel_handle_extended_data - set extended data handling mode 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8void 9libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel, 10 int ignore_mode); 11.fi 12.SH DESCRIPTION 13This function is deprecated. Use the 14\fIlibssh2_channel_handle_extended_data2(3)\fP function instead! 15 16\fIchannel\fP - Active channel stream to change extended data handling on. 17 18\fIignore_mode\fP - One of the three LIBSSH2_CHANNEL_EXTENDED_DATA_* Constants. 19.br 20\fBLIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL\fP: Queue extended data for eventual 21reading 22.br 23\fBLIBSSH2_CHANNEL_EXTENDED_DATA_MERGE\fP: Treat extended data and ordinary 24data the same. Merge all substreams such that calls to 25\fIlibssh2_channel_read(3)\fP will pull from all substreams on a 26first-in/first-out basis. 27.br 28\fBLIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE\fP: Discard all extended data as it 29arrives. 30 31Change how a channel deals with extended data packets. By default all extended 32data is queued until read by \fIlibssh2_channel_read_ex(3)\fP 33.SH RETURN VALUE 34None. 35.SH SEE ALSO 36.BR libssh2_channel_handle_extended_data2(3) 37.BR libssh2_channel_read_ex(3)