diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-10-26 12:06:11 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-10-26 12:06:11 +0000 |
commit | 0f67ff89d9918344965897887ca47c9bb7471752 (patch) | |
tree | e7c58cbabcc205eb93582c00cebb2fa8dc63cadd /libssh/session.c | |
parent | 9a2683f183338da7c82261d502cdeff0855c210c (diff) | |
download | libssh-0f67ff89d9918344965897887ca47c9bb7471752.tar.gz libssh-0f67ff89d9918344965897887ca47c9bb7471752.tar.xz libssh-0f67ff89d9918344965897887ca47c9bb7471752.zip |
patches from Norbert merged in. I have made some little changes here and there.
It still doesn't compile because of the O1 thing passed to ld.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@41 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/session.c')
-rw-r--r-- | libssh/session.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/session.c b/libssh/session.c index b084c29..0d75c5a 100644 --- a/libssh/session.c +++ b/libssh/session.c @@ -138,3 +138,6 @@ const char *ssh_get_disconnect_message(SSH_SESSION *session){ return NULL; } +int ssh_get_version(SSH_SESSION *session){ + return session->version; +} |