diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-16 16:16:33 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-17 16:57:55 +0200 |
commit | d6dea75af7c00e396cffa2e74350352703312180 (patch) | |
tree | bd1f2dd454929bf9aa6e62b3d286b631ed75f208 /lib/ssh.h | |
parent | 5b2d703fe5900fcda846e41d67c62f62dd755839 (diff) |
vssh: move ssh init/cleanup functions into backend code
Diffstat (limited to 'lib/ssh.h')
-rw-r--r-- | lib/ssh.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |