summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 22:13:19 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 22:13:19 +0200
commit0e8e124d2023736c973ce8e06f4776efd1edb096 (patch)
treea713a4cdee7a21b4c4dceaa0e34b71fa67edbfb4 /include/libssh/priv.h
parent9a8d4cd0fdd18127065cacbc11296933669ea9ca (diff)
downloadlibssh-0e8e124d2023736c973ce8e06f4776efd1edb096.tar.gz
libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.tar.xz
libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.zip
get rid of SSH_OPTIONS
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 83e44735..3fe5fa39 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -383,7 +383,7 @@ struct ssh_message_struct;
struct ssh_session_struct {
struct error_struct error;
struct socket *socket;
- SSH_OPTIONS *options;
+ ssh_options options;
char *serverbanner;
char *clientbanner;
int protoversion;
@@ -463,7 +463,7 @@ struct ssh_kbdint_struct {
struct ssh_bind_struct {
struct error_struct error;
socket_t bindfd;
- SSH_OPTIONS *options;
+ ssh_options options;
int blocking;
int toaccept;
};
@@ -747,9 +747,9 @@ int channel_write_common(ssh_channel channel, const void *data,
/* options.c */
/* this function must be called when no specific username has been asked. it has to guess it */
-int ssh_options_default_username(SSH_OPTIONS *opt);
-int ssh_options_default_ssh_dir(SSH_OPTIONS *opt);
-int ssh_options_default_known_hosts_file(SSH_OPTIONS *opt);
+int ssh_options_default_username(ssh_options opt);
+int ssh_options_default_ssh_dir(ssh_options opt);
+int ssh_options_default_known_hosts_file(ssh_options opt);
/* buffer.c */
int buffer_add_ssh_string(ssh_buffer buffer, ssh_string string);