From d6dea75af7c00e396cffa2e74350352703312180 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Aug 2019 16:16:33 +0200 Subject: vssh: move ssh init/cleanup functions into backend code --- lib/ssh.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/ssh.h') 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, , et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, , 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 */ -- cgit v1.2.3