diff options
author | Audrius Butkevicius <audrius.butkevicius@elastichosts.com> | 2014-02-12 16:53:18 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2014-02-12 18:21:16 +0100 |
commit | a277dd92776c5c18d4e08a555e169c46cf75ff94 (patch) | |
tree | 5873ed8615e8b0d52ac83337cd4b14d528276d34 /include/libssh/channels.h | |
parent | 370d4b014d22d6ae9229498f75a4f6d28d0d1614 (diff) | |
download | libssh-a277dd92776c5c18d4e08a555e169c46cf75ff94.tar.gz libssh-a277dd92776c5c18d4e08a555e169c46cf75ff94.tar.xz libssh-a277dd92776c5c18d4e08a555e169c46cf75ff94.zip |
Add session/channel byte/packet counters
Signed-off-by: Audrius Butkevicius <audrius.butkevicius@elastichosts.com>
Diffstat (limited to 'include/libssh/channels.h')
-rw-r--r-- | include/libssh/channels.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/channels.h b/include/libssh/channels.h index 4c726453..b05c4c02 100644 --- a/include/libssh/channels.h +++ b/include/libssh/channels.h @@ -75,6 +75,8 @@ struct ssh_channel_struct { int exit_status; enum ssh_channel_request_state_e request_state; ssh_channel_callbacks callbacks; + /* counters */ + ssh_counter counter; }; SSH_PACKET_CALLBACK(ssh_packet_channel_open_conf); |