diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-06 12:54:57 +0300 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-13 14:03:34 +0300 |
commit | f90ae73b6d0d8c6993a200045770344ce5252a92 (patch) | |
tree | ab23a3ee7a270cdf6519c237d274cf63ce3da9d0 /examples/examples_common.h | |
parent | 7fed54b1e574779dac61aafec6343a47bb116493 (diff) | |
download | libssh-f90ae73b6d0d8c6993a200045770344ce5252a92.tar.gz libssh-f90ae73b6d0d8c6993a200045770344ce5252a92.tar.xz libssh-f90ae73b6d0d8c6993a200045770344ce5252a92.zip |
Refactored the connect_ssh example function
into a new file
Diffstat (limited to 'examples/examples_common.h')
-rw-r--r-- | examples/examples_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/examples_common.h b/examples/examples_common.h index 55f5db7d..bc30c933 100644 --- a/examples/examples_common.h +++ b/examples/examples_common.h @@ -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_ */ |