From 4fa2e4dde159a62a0d15bc800a7480f29fd964b1 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Mon, 27 Dec 2010 23:28:39 +0100 Subject: 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. --- include/libssh/session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/session.h') diff --git a/include/libssh/session.h b/include/libssh/session.h index 33ef8795..a2cdfa07 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -138,6 +138,7 @@ struct ssh_session_struct { char *sshdir; char *knownhosts; char *wanted_methods[10]; + char compressionlevel; unsigned long timeout; /* seconds */ unsigned long timeout_usec; unsigned int port; -- cgit