gnutls_srtp_get_selected_profile(3)
β¨ gnutls_srtp_get_selected_profile β¨
okay bestie, welcome to the gnutls manual, page for gnutls_srtp_get_selected_profile(3). this one's short and sweet and honestly kind of iconic π
πΈ NAME πΈ
gnutls_srtp_get_selected_profile β it's an API function, no cap π«Ά
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int gnutls_srtp_get_selected_profile(gnutls_session_t session,
gnutls_srtp_profile_t * profile);
π ARGUMENTS π
gnutls_session_t sessionβ it's agnutls_session_ttype. that's it, that's the whole vibe. your session, your girl πgnutls_srtp_profile_t * profileβ this lil pointer is gonna hold the profile. it's the vessel. the container. the little basket where the answer goes π§Ίβ¨
π DESCRIPTION π
so this function lets you get the negotiated SRTP profile. that's the one y'all agreed on during the handshake. like, the group chat voted and this is what won. and now you get to peek at the result π
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned π. otherwise you get a negative error code back, which is the universe's way of saying "not today bestie" π
fr fr, 0 = slay, anything negative = go check that error code.
Since 3.1.4 β yeah she's been around a minute, an OG π
π REPORTING BUGS π
found a bug? spill it, not in my DMs tho β report bugs to <bugs@gnutls.org> π§
home page: https://www.gnutls.org π
π COPYRIGHT π
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. (translation: go off, just keep the receipts π§Ύβ¨)
π 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/
and that's the whole page, bestie!! this was gnutls version 3.8.13, brought to you by the fine folks at gnutls β mwah, study it, love it, use it responsibly π«Άππ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms