1libssh2_channel_handle_extended_data2l(i3bl)sisbhs2sh2_channel_handle_extended_data2(3)
2
3
4
6 libssh2_channel_handle_extended_data2 - set extended data handling mode
7
9 #include <libssh2.h>
10
11 int
12 libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel,
13 int ignore_mode);
14
16 channel - Active channel stream to change extended data handling on.
17
18 ignore_mode - One of the three LIBSSH2_CHANNEL_EXTENDED_DATA_* Con‐
19 stants.
20 LIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL: Queue extended data for eventual
21 reading
22 LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE: Treat extended data and ordinary
23 data the same. Merge all substreams such that calls to libssh2_chan‐
24 nel_read(3) will pull from all substreams on a first-in/first-out ba‐
25 sis.
26 LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE: Discard all extended data as it
27 arrives.
28
29 Change how a channel deals with extended data packets. By default all
30 extended data is queued until read by libssh2_channel_read_ex(3)
31
33 Return 0 on success or LIBSSH2_ERROR_EAGAIN when it would otherwise
34 block.
35
37 libssh2_channel_handle_extended_data(3) libssh2_channel_read_ex(3)
38
39
40
41libssh2 0.15 1 Junli2b0s0s7h2_channel_handle_extended_data2(3)