1libssh2_channel_receive_window_adljiubssts2hl(2i3b)msasnhu2a_lchannel_receive_window_adjust2(3)
2
3
4

NAME

6       libssh2_channel_receive_window_adjust2 - adjust the channel window
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int libssh2_channel_receive_window_adjust2(LIBSSH2_CHANNEL * channel,
12                                              unsigned long adjustment,
13                                              unsigned char force,
14                                              unsigned int *window);
15
16

DESCRIPTION

18       Adjust  the  receive  window  for a channel by adjustment bytes. If the
19       amount to be adjusted is less than LIBSSH2_CHANNEL_MINADJUST and  force
20       is 0 the adjustment amount will be queued for a later packet.
21
22       This  function stores the new size of the receive window (as understood
23       by remote end) in the variable 'window' points to.
24

RETURN VALUE

26       Return 0 on success and a negative value on  error.  If  used  in  non-
27       blocking  mode it will return LIBSSH2_ERROR_EAGAIN when it would other‐
28       wise block.
29

ERRORS

AVAILABILITY

32       Added in libssh2 1.1 since the previous API has deficiencies.
33

SEE ALSO

35       libssh2_channel_window_read_ex(3)
36
37
38
39libssh2 1.1                       26 Mlairbs2s0h029_channel_receive_window_adjust2(3)
Impressum