diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-12-10 14:55:13 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-12-10 14:59:21 +0100 |
commit | 13b9d268d42b7c34aa5e3e468b53d9735f3d10fb (patch) | |
tree | 7a74a5e8fe2dbc03f1f6aca6670198f433c2c930 /include/libssh/channels.h | |
parent | 0ba10870d149ba18c8bb5cf98a776c2c038474bd (diff) | |
download | libssh-13b9d268d42b7c34aa5e3e468b53d9735f3d10fb.tar.gz libssh-13b9d268d42b7c34aa5e3e468b53d9735f3d10fb.tar.xz libssh-13b9d268d42b7c34aa5e3e468b53d9735f3d10fb.zip |
channel: Add SSH_CHANNEL_FLAG_CLOSED_LOCAL
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/channels.h')
-rw-r--r-- | include/libssh/channels.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/libssh/channels.h b/include/libssh/channels.h index 343aa7f7..fc03965a 100644 --- a/include/libssh/channels.h +++ b/include/libssh/channels.h @@ -48,11 +48,16 @@ enum ssh_channel_state_e { }; /* The channel has been closed by the remote side */ -#define SSH_CHANNEL_FLAG_CLOSED_REMOTE 0x1 +#define SSH_CHANNEL_FLAG_CLOSED_REMOTE 0x0001 + +/* The channel has been closed locally */ +#define SSH_CHANNEL_FLAG_CLOSED_LOCAL 0x0002 + /* The channel has been freed by the calling program */ -#define SSH_CHANNEL_FLAG_FREED_LOCAL 0x2 +#define SSH_CHANNEL_FLAG_FREED_LOCAL 0x0004 + /* the channel has not yet been bound to a remote one */ -#define SSH_CHANNEL_FLAG_NOT_BOUND 0x4 +#define SSH_CHANNEL_FLAG_NOT_BOUND 0x0008 struct ssh_channel_struct { ssh_session session; /* SSH_SESSION pointer */ |