aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-02-04 19:02:49 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-06-04 11:20:28 +0200
commitf23dbe6f4221fd59337087298ed9536c1a05ea63 (patch)
tree79a5291a97d7db888a3239b8abbdc4c1823cb047 /include/libssh
parent974e1831a0ecc09a56135892c2f272781eafc3b7 (diff)
downloadlibssh-f23dbe6f4221fd59337087298ed9536c1a05ea63.tar.gz
libssh-f23dbe6f4221fd59337087298ed9536c1a05ea63.tar.xz
libssh-f23dbe6f4221fd59337087298ed9536c1a05ea63.zip
knownhosts: Add ssh_session_update_known_hosts()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-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 92ca5938..336e31da 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -541,6 +541,8 @@ LIBSSH_API enum ssh_known_hosts_e ssh_session_has_known_hosts_entry(ssh_session
LIBSSH_API int ssh_session_export_known_hosts_entry(ssh_session session,
char **pentry_string);
+LIBSSH_API int ssh_session_update_known_hosts(ssh_session session);
+
/* LOGGING */
LIBSSH_API int ssh_set_log_level(int level);
LIBSSH_API int ssh_get_log_level(void);