diff options
Diffstat (limited to 'include/libssh/options.h')
-rw-r--r-- | include/libssh/options.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libssh/options.h b/include/libssh/options.h index 775933a..8ec07a6 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_ */ |