From e797781bb54685a69735d8b1e84dd26a69227c47 Mon Sep 17 00:00:00 2001 From: Lee Hambley Date: Fri, 28 Oct 2011 10:26:32 +0200 Subject: Implement ssh_options_get_port(ssh_session, unsigned int*). --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 0104c8a..961dfc0 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -429,6 +429,7 @@ LIBSSH_API int ssh_options_set(ssh_session session, enum ssh_options_e type, const void *value); LIBSSH_API int ssh_options_get(ssh_session session, enum ssh_options_e type, char **value); +LIBSSH_API int ssh_options_get_port(ssh_session session, unsigned int * port_target); LIBSSH_API int ssh_pcap_file_close(ssh_pcap_file pcap); LIBSSH_API void ssh_pcap_file_free(ssh_pcap_file pcap); LIBSSH_API ssh_pcap_file ssh_pcap_file_new(void); -- cgit