Implement ssh_options_get_port(ssh_session, unsigned int*).

This commit is contained in:
Lee Hambley
2011-10-28 10:26:32 +02:00
committed by Andreas Schneider
parent 6bd95b50f5
commit e797781bb5
3 changed files with 41 additions and 0 deletions

View File

@@ -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);