diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-10-02 10:18:27 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-10-02 10:18:27 +0200 |
commit | 42aacc71069d31ff039b4deda2ad13beb08944bd (patch) | |
tree | 7976e856cceba035c8d221119d4869eec5a8dbf2 | |
parent | 8ed9cdce80d78d3466cbd075ff48e40268d38c91 (diff) | |
download | libssh-42aacc71069d31ff039b4deda2ad13beb08944bd.tar.gz libssh-42aacc71069d31ff039b4deda2ad13beb08944bd.tar.xz libssh-42aacc71069d31ff039b4deda2ad13beb08944bd.zip |
Remove unused option functions.
-rw-r--r-- | include/libssh/options.h | 6 | ||||
-rw-r--r-- | libssh/options.c | 13 |
2 files changed, 0 insertions, 19 deletions
diff --git a/include/libssh/options.h b/include/libssh/options.h index 8ec07a6d..8b990d33 100644 --- a/include/libssh/options.h +++ b/include/libssh/options.h @@ -49,10 +49,4 @@ 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_ */ diff --git a/libssh/options.c b/libssh/options.c index 70469d81..95429b0d 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -923,19 +923,6 @@ int ssh_options_set_wanted_algos(ssh_options opt, int algo, const char *list) { return 0; } -/* 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) { - return ssh_options_set(opt, SSH_OPTIONS_USER, NULL); -} - -int ssh_options_default_ssh_dir(ssh_options opt) { - return ssh_options_set(opt, SSH_OPTIONS_SSH_DIR, NULL); -} - -int ssh_options_default_known_hosts_file(ssh_options opt) { - return ssh_options_set(opt, SSH_OPTIONS_KNOWNHOSTS, NULL); -} - /** * @brief Set a callback to show connection status in realtime. * |