aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2014-02-03 22:37:25 -0800
committerAndreas Schneider <asn@cryptomilk.org>2014-02-06 10:21:07 +0100
commit93370d61ba1df61db4d3010f9040ba9c34f57245 (patch)
treeee7b179b1d5620da0dc3808a5e0ca71522d8145b /include
parent22d6c36800f2ade82e030b9f1321c19cb5ce2db9 (diff)
downloadlibssh-93370d61ba1df61db4d3010f9040ba9c34f57245.tar.gz
libssh-93370d61ba1df61db4d3010f9040ba9c34f57245.tar.xz
libssh-93370d61ba1df61db4d3010f9040ba9c34f57245.zip
session: add getters for session cipher names
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 48050756..b10dca28 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -642,6 +642,8 @@ LIBSSH_API int ssh_event_remove_session(ssh_event event, ssh_session session);
LIBSSH_API void ssh_event_free(ssh_event event);
LIBSSH_API const char* ssh_get_clientbanner(ssh_session session);
LIBSSH_API const char* ssh_get_serverbanner(ssh_session session);
+LIBSSH_API const char* ssh_get_cipher_in(ssh_session session);
+LIBSSH_API const char* ssh_get_cipher_out(ssh_session session);
#ifndef LIBSSH_LEGACY_0_4
#include "libssh/legacy.h"