summaryrefslogtreecommitdiffstats
path: root/include/libssh/options.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 01:15:48 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 01:15:48 +0200
commit3e314e863cb70f8594b0c9b79d14edb3a929d708 (patch)
tree6c0a63effd3cdc7be368690f4dceed3811dcb579 /include/libssh/options.h
parentadbb087221a90ef1fa687ae5d9575eedd77bcd06 (diff)
downloadlibssh-3e314e863cb70f8594b0c9b79d14edb3a929d708.tar.gz
libssh-3e314e863cb70f8594b0c9b79d14edb3a929d708.tar.xz
libssh-3e314e863cb70f8594b0c9b79d14edb3a929d708.zip
More include file splitting
Diffstat (limited to 'include/libssh/options.h')
-rw-r--r--include/libssh/options.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libssh/options.h b/include/libssh/options.h
index 775933ae..8ec07a6d 100644
--- a/include/libssh/options.h
+++ b/include/libssh/options.h
@@ -22,6 +22,9 @@
#ifndef OPTIONS_H_
#define OPTIONS_H_
+#include "libssh/priv.h"
+#include "libssh/callback.h"
+
struct ssh_options_struct {
struct error_struct error;
char *banner;
@@ -46,4 +49,10 @@ struct ssh_options_struct {
};
+
+/* 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);
+
#endif /* OPTIONS_H_ */