libssh2_publickey_add(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_publickey_add(3) πŸ’–

okay bestie, welcome to the libssh2 manual page for libssh2_publickey_add β€” yes, the one from section 3 of the manual, we're doing this ✨


πŸŽ€ NAME πŸŽ€

libssh2_publickey_add β€” it's a convenience macro that does the whole libssh2_publickey_add_ex(3) call situation for you, no cap


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libssh2.h>

int
libssh2_publickey_add(LIBSSH2_PUBLICKEY *pkey,
                      const unsigned char *name,
                      const unsigned char *blob, unsigned long blob_len,
                      char overwrite, unsigned long num_attrs,
                      const libssh2_publickey_attribute attrs[]);

✨ DESCRIPTION ✨

so basically: this is a macro, and it lives in a public libssh2 header file</b>, and underneath it all it's using the actual real function libssh2_publickey_add_ex(3). that's the whole vibe. it's the glow-up wrapper. the main character is still libssh2_publickey_add_ex(3), this one's just the aesthetic front πŸ’…


🌸 RETURN VALUE 🌸

go check libssh2_publickey_add_ex(3) β€” the info lives there, iykyk 🫢


🌈 ERRORS 🌈

same deal bestie, libssh2_publickey_add_ex(3) has all of it πŸ’œ


⭐ SEE ALSO ⭐


and that's the page, periodt πŸ’– this was brought to you by libssh2 1.2.4, dated 20 Feb 2010 β€” an icon, a legend, and honestly? still ate. mwah πŸŽ€βœ¨