1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +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

@ -1,6 +1,6 @@
.\" Copyright (C) The libssh2 project and its contributors.
.\" SPDX-License-Identifier: BSD-3-Clause
.TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 1.0" "libssh2"
.TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 0.1" "libssh2"
.SH NAME
libssh2_base64_decode - decode a base64 encoded string
.SH SYNOPSIS
@ -13,8 +13,8 @@ libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest,
unsigned int src_len);
.fi
.SH DESCRIPTION
This function is deemed DEPRECATED and will be removed from libssh2 in a
future version. Do not use it!
This function is deemed DEPRECATED in 1.0 and will be removed from libssh2
in a future version. Do not use it!
Decode a base64 chunk and store it into a newly allocated buffer. 'dest_len'
will be set to hold the length of the returned buffer that '*dest' will point