1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-12 09:41:53 +03:00

Refactored the connect_ssh example function

into a new file
This commit is contained in:
Aris Adamantiadis
2009-09-06 12:54:57 +03:00
parent 7fed54b1e5
commit f90ae73b6d
3 changed files with 66 additions and 1 deletions

View File

@ -13,9 +13,10 @@ clients must be made or how a client should react.
#ifndef EXAMPLES_COMMON_H_
#define EXAMPLES_COMMON_H_
#include <libssh/libssh.h>
int authenticate_console(ssh_session session);
int authenticate_kbdint(ssh_session session);
int verify_knownhost(ssh_session session);
ssh_session connect_ssh(const char *hostname, const char *user, int verbosity);
#endif /* EXAMPLES_COMMON_H_ */