1libssh2_channel_handle_extended_dlaitbas2s(h32l)imbasnsuha2l_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 libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel, int
12 ignore_mode);
13
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
25 basis.
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
32
34 Return 0 on success or LIBSSH2_ERROR_EAGAIN when it would otherwise
35 block.
36
37
39 libssh2_channel_handle_extended_data(3) libssh2_channel_read_ex(3)
40
41
42
43libssh2 0.15 1 Junli2b0s0s7h2_channel_handle_extended_data2(3)