mirror of
https://github.com/curl/curl.git
synced 2026-08-26 14:33:32 +03:00
vssh: move ssh init/cleanup functions into backend code
This commit is contained in:
parent
5b2d703fe5
commit
d6dea75af7
4 changed files with 41 additions and 18 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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue