aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorLee Hambley <lee.hambley@gmail.com>2011-10-28 10:26:32 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-10-28 12:15:12 +0200
commite797781bb54685a69735d8b1e84dd26a69227c47 (patch)
tree0b31b317214513c05508140cdbed811b39342c6f /include/libssh/libssh.h
parent6bd95b50f535d07594f3659c67a1f5e501887641 (diff)
downloadlibssh-e797781bb54685a69735d8b1e84dd26a69227c47.tar.gz
libssh-e797781bb54685a69735d8b1e84dd26a69227c47.tar.xz
libssh-e797781bb54685a69735d8b1e84dd26a69227c47.zip
Implement ssh_options_get_port(ssh_session, unsigned int*).
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 0104c8a9..961dfc00 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);