aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-16 16:16:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-17 16:57:55 +0200
commitd6dea75af7c00e396cffa2e74350352703312180 (patch)
treebd1f2dd454929bf9aa6e62b3d286b631ed75f208 /lib/ssh.h
parent5b2d703fe5900fcda846e41d67c62f62dd755839 (diff)
vssh: move ssh init/cleanup functions into backend code
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index 0620aac32..96bb64099 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -240,6 +240,11 @@ extern const struct Curl_handler Curl_handler_sftp;
extern const struct Curl_handler Curl_handler_scp;
extern const struct Curl_handler Curl_handler_sftp;
+CURLcode Curl_ssh_init(void);
+void Curl_ssh_cleanup(void);
+
+#else
+#define Curl_ssh_cleanup()
#endif /* USE_LIBSSH2 */
#endif /* HEADER_CURL_SSH_H */