diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-12-27 23:28:39 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-12-27 23:28:39 +0100 |
commit | 4fa2e4dde159a62a0d15bc800a7480f29fd964b1 (patch) | |
tree | 3eb243519cb80f755a7a9d40fb417507bd16fdda /include/libssh/libssh.h | |
parent | 32c0e1c99a46f91bbec9b203894afdb99e2f5344 (diff) | |
download | libssh-4fa2e4dde159a62a0d15bc800a7480f29fd964b1.tar.gz libssh-4fa2e4dde159a62a0d15bc800a7480f29fd964b1.tar.xz libssh-4fa2e4dde159a62a0d15bc800a7480f29fd964b1.zip |
Added compression options and allow "yes/no" setting
SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 21ab70e..d1c1b3b 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -296,7 +296,9 @@ enum ssh_options_e { SSH_OPTIONS_COMPRESSION_S_C, SSH_OPTIONS_PROXYCOMMAND, SSH_OPTIONS_BINDADDR, - SSH_OPTIONS_STRICTHOSTKEYCHECK + SSH_OPTIONS_STRICTHOSTKEYCHECK, + SSH_OPTIONS_COMPRESSION, + SSH_OPTIONS_COMPRESSION_LEVEL }; enum { |