From f90ae73b6d0d8c6993a200045770344ce5252a92 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 6 Sep 2009 12:54:57 +0300 Subject: Refactored the connect_ssh example function into a new file --- examples/examples_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/examples_common.h') 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 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_ */ -- cgit v1.2.3