geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
1.2 KiB

  1. .TH libssh2_channel_handle_extended_data2 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_handle_extended_data2 - set extended data handling mode
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel, int ignore_mode);
  8. .SH DESCRIPTION
  9. \fIchannel\fP - Active channel stream to change extended data handling on.
  10. \fIignore_mode\fP - One of the three LIBSSH2_CHANNEL_EXTENDED_DATA_* Constants.
  11. .br
  12. \fBLIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL\fP: Queue extended data for eventual
  13. reading
  14. .br
  15. \fBLIBSSH2_CHANNEL_EXTENDED_DATA_MERGE\fP: Treat extended data and ordinary
  16. data the same. Merge all substreams such that calls to
  17. .BR libssh2_channel_read(3)
  18. will pull from all substreams on a first-in/first-out basis.
  19. .br
  20. \fBLIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE\fP: Discard all extended data as it
  21. arrives.
  22. Change how a channel deals with extended data packets. By default all
  23. extended data is queued until read by
  24. .BR libssh2_channel_read_ex(3)
  25. .SH RETURN VALUE
  26. Return 0 on success or LIBSSH2_ERROR_EAGAIN when it would otherwise block.
  27. .SH SEE ALSO
  28. .BR libssh2_channel_handle_extended_data(3)
  29. .BR libssh2_channel_read_ex(3)