libssh2_channe..._extended_data(3)

πŸ“¦
version 1.11.1 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, epel 10, epel 9, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ libssh2_channel_ignore_extended_data β€” bestie edition ✨

okay so we're in the libssh2 manual, and today's main character is libssh2_channel_ignore_extended_data. she's a whole vibe, but she's also, like, retired. more on that in a sec. πŸŽ€


πŸ’– NAME πŸ’–

libssh2_channel_ignore_extended_data β€” a convenience macro for libssh2_channel_handle_extended_data(3) calls

like, she doesn't do the work herself, she just rings up the girl who does. middle management energy honestly. πŸ’…


🌸 SYNOPSIS 🌸

#include <libssh2.h>

void
libssh2_channel_ignore_extended_data(LIBSSH2_CHANNEL *channel,
                                     int ignore_mode);

so she takes a LIBSSH2_CHANNEL *channel and an int ignore_mode, and she returns void. no return value, no drama, she's just out here doing her little thing. πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

okay bestie, sit down because this is important: this function is DEPRECATED in 0.3.0. not "kinda old", not "maybe use something else" β€” DEPRECATED. if you're writing new code, you want libssh2_channel_handle_extended_data2(3) instead. use that one. she's the upgraded model. periodt. πŸ’…

fr fr, deprecated means deprecated. don't be out here building new stuff on the vintage one just because her name is cute. 😭

so what is she, actually? she's a macro β€” and not a sneaky private one, she lives in a public libssh2 header file β€” and what she does is use the underlying function libssh2_channel_handle_extended_data(3). that's it. that's the whole gig. she's a lil wrapper, a lil shortcut, a lil "hey go ask that other function". iconic honestly. πŸ‘‘


⭐ RETURN VALUE ⭐

see libssh2_channel_handle_extended_data(3) β€” she doesn't have her own, she borrows her friend's. 🫢


πŸ™ˆ ERRORS πŸ™ˆ

also see libssh2_channel_handle_extended_data(3). same friend, same answers, no cap. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

like genuinely the only one. she's a one-friend kinda girl. πŸ“


and that's the whole page, bestie!! this was written by libssh2 1.2.4, dated 20 Feb 2010 β€” so yeah, she's been around a minute, which honestly explains the whole deprecated thing. πŸ’€ mwah, go use the 2(3) version. πŸ§šπŸ’œ