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

libssh2_scp_send, libssh2_scp_send_ex: add deprecation warning

Also:
- switch to non-deprecated alternative in examples.
- add pointers and deprecation warning to libssh2_scp_send man page.

Cherry-picked from #1484
This commit is contained in:
Viktor Szakats
2024-11-27 00:36:24 +01:00
parent 4fbd592314
commit 7027604505
10 changed files with 25 additions and 15 deletions

View File

@@ -14,9 +14,13 @@ libssh2_scp_send(LIBSSH2_SESSION *session, const char *path,
.SH DESCRIPTION
This is a macro defined in a public libssh2 header file that is using the
underlying function \fIlibssh2_scp_send_ex(3)\fP.
This macro has been deemed deprecated since libssh2 1.2.6. See
\fIlibssh2_scp_send64(3)\fP.
.SH RETURN VALUE
See \fIlibssh2_scp_send_ex(3)\fP
.SH ERRORS
See \fIlibssh2_scp_send_ex(3)\fP
.SH SEE ALSO
.BR libssh2_scp_send_ex(3)
.BR libssh2_scp_send_ex(3),
.BR libssh2_scp_send64(3)