libssh2\_channel\_handle\_extended\_data(3) libssh2 libssh2\_channel\_handle\_extended\_data(3)

# [NAME](#NAME)

libssh2\_channel\_handle\_extended\_data - set extended data handling mode

# [SYNOPSIS](#SYNOPSIS)

```
#include <libssh2.h>
void
libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel,


                                     int ignore_mode);
```

# [DESCRIPTION](#DESCRIPTION)

This function is **DEPRECATED** in 1.1.0. Use the [*libssh2\_channel\_handle\_extended\_data2(3)*](/man/os/libssh2/libssh2_channel_handle_extended_data2.3) function instead!

*channel* - Active channel stream to change extended data handling on.

*ignore\_mode* - One of the three LIBSSH2\_CHANNEL\_EXTENDED\_DATA\_* Constants.  
**LIBSSH2\_CHANNEL\_EXTENDED\_DATA\_NORMAL**: Queue extended data for eventual reading  
**LIBSSH2\_CHANNEL\_EXTENDED\_DATA\_MERGE**: Treat extended data and ordinary data the same. Merge all substreams such that calls to [*libssh2\_channel\_read(3)*](/man/os/libssh2/libssh2_channel_read.3) will pull from all substreams on a first-in/first-out basis.  
**LIBSSH2\_CHANNEL\_EXTENDED\_DATA\_IGNORE**: Discard all extended data as it arrives.

Change how a channel deals with extended data packets. By default all extended data is queued until read by [*libssh2\_channel\_read\_ex(3)*](/man/os/libssh2/libssh2_channel_read_ex.3)

# [RETURN VALUE](#RETURN_VALUE)

None.

# [SEE ALSO](#SEE_ALSO)

[**libssh2\_channel\_handle\_extended\_data2(3)**](/man/os/libssh2/libssh2_channel_handle_extended_data2.3) [**libssh2\_channel\_read\_ex(3)**](/man/os/libssh2/libssh2_channel_read_ex.3)

1 Jun 2007 libssh2 0.15

---

Document: libssh2_channel_handle_extended_data(3) from libssh2 1.11.1-r11 (Chainguard OS)
Source: https://github.com/libssh2/libssh2.git
