diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-02-04 18:33:19 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-04 11:20:28 +0200 |
commit | 974e1831a0ecc09a56135892c2f272781eafc3b7 (patch) | |
tree | b0a5a8059cdbcfee6ce79f362fc32ad1aa9b5fef /include/libssh/libssh.h | |
parent | 963c46e4fbce513558c941de51e073fc07ad37ae (diff) | |
download | libssh-974e1831a0ecc09a56135892c2f272781eafc3b7.tar.gz libssh-974e1831a0ecc09a56135892c2f272781eafc3b7.tar.xz libssh-974e1831a0ecc09a56135892c2f272781eafc3b7.zip |
knownhosts: Add ssh_session_export_known_hosts_entry()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 0c65547c..92ca5938 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -538,6 +538,9 @@ LIBSSH_API int ssh_known_hosts_parse_line(const char *host, struct ssh_knownhosts_entry **entry); LIBSSH_API enum ssh_known_hosts_e ssh_session_has_known_hosts_entry(ssh_session session); +LIBSSH_API int ssh_session_export_known_hosts_entry(ssh_session session, + char **pentry_string); + /* LOGGING */ LIBSSH_API int ssh_set_log_level(int level); LIBSSH_API int ssh_get_log_level(void); |