1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

libssh2_base64_decode: add deprecation warning

Cherry-picked from #1484
This commit is contained in:
Viktor Szakats
2024-11-27 00:57:31 +01:00
parent 7027604505
commit cf3aac1aba
4 changed files with 12 additions and 7 deletions

View File

@@ -1071,10 +1071,12 @@ LIBSSH2_API LIBSSH2_CHANNEL *
libssh2_scp_send64(LIBSSH2_SESSION *session, const char *path, int mode,
libssh2_int64_t size, time_t mtime, time_t atime);
/* DEPRECATED */
#ifndef LIBSSH2_NO_DEPRECATED
LIBSSH2_DEPRECATED(1.0, "")
LIBSSH2_API int libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest,
unsigned int *dest_len,
const char *src, unsigned int src_len);
#endif
LIBSSH2_API
const char *libssh2_version(int req_version_num);