gnutls_x509_tlsfeatures_add(3)

✨ gnutls_x509_tlsfeatures_add ✨

okay bestie, so this one lives in the gnutls manual (that's the manual name, mwah) and it's literally the cutest little function: it adds one feature to a TLS features list. That's it. That's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/x509-ext.h>

int gnutls_x509_tlsfeatures_add(gnutls_x509_tlsfeatures_t f, unsigned
                                int feature);

like. two arguments. she's low maintenance. πŸŽ€


🫢 ARGUMENTS 🫢

  • gnutls_x509_tlsfeatures_t f β€” this is the TLS features, the little collection you're adding stuff to. think of her as the group chat and you're about to add a member. πŸ’–
  • unsigned int feature β€” the feature to add. the actual thing going into the list. the new girl in the chat. ✨

πŸ’« DESCRIPTION πŸ’«

so basically, this function will append a feature to the X.509 TLS features extension structure. that's the vibe. you hand it your features thing and a feature number, and it tacks that feature onto the end of the list. not me being obsessed with an append operation but here we are 😭


πŸ‘‘ RETURNS πŸ‘‘

On success, GNUTLS_E_SUCCESS (that's 0, the good one, the slay one) is returned. otherwise you get a negative error value and we don't love that for us. πŸ’€


⭐ SINCE ⭐

3.5.1 β€” she's been around a minute, an icon, a legend. πŸ¦‹


πŸ› REPORTING BUGS πŸ›

found a bug? do NOT suffer in silence bestie, tell the devs:


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (yes, that means what it says β€” free to copy, just keep the receipts, no cap. 🧾✨)


🌈 SEE ALSO 🌈

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:

https://www.gnutls.org/manual/

iykyk πŸ‘‘


and that's the whole page, bestie!! πŸŽ€πŸ’– this was gnutls_x509_tlsfeatures_add from the gnutls manual, version 3.8.13 β€” go forth and append your features, you absolute main character. periodt. πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from