mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
Remove unused option functions.
This commit is contained in:
@@ -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_ */
|
#endif /* OPTIONS_H_ */
|
||||||
|
|||||||
@@ -923,19 +923,6 @@ int ssh_options_set_wanted_algos(ssh_options opt, int algo, const char *list) {
|
|||||||
return 0;
|
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.
|
* @brief Set a callback to show connection status in realtime.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user