struct ssh_channel_struct
#include <include/libssh/channels.h>
struct ssh_channel_struct {
// fields
ssh_channel_callbacks callbacks;
ssh_counter counter;
int delayed_close;
int exit_status;
int flags;
uint32_t local_channel;
int local_eof;
uint32_t local_maxpacket;
uint32_t local_window;
uint32_t remote_channel;
int remote_eof;
uint32_t remote_maxpacket;
uint32_t remote_window;
enum ssh_channel_request_state_e request_state;
ssh_session session;
enum ssh_channel_state_e state;
ssh_buffer stderr_buffer;
ssh_buffer stdout_buffer;
void* userarg;
int version;
};