aboutsummaryrefslogtreecommitdiff
path: root/examples/examples_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples_common.h')
-rw-r--r--examples/examples_common.h3
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_ */