gnutls_srtp_set_profile_direct(3)
β¨ gnutls_srtp_set_profile_direct(3) β¨
okay bestie, welcome to the gnutls manual π this is the page for gnutls_srtp_set_profile_direct, and yes it's giving "I am a C function and I have opinions about SRTP profiles" π
πΈ NAME πΈ
gnutls_srtp_set_profile_direct β it's an API function, periodt π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int gnutls_srtp_set_profile_direct(gnutls_session_t session, const char
* profiles, const char ** err_pos);
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's the whole vibe of it. πconst char * profilesβ a string holding all the SRTP profiles you support, separated by colons. so like, a little colon-separated playlist of profiles π΅const char ** err_posβ if something goes wrong, this is where the position in the string where the error happened gets dropped. it's allowed to beNULL, no pressure π«Ά
π DESCRIPTION π
so the way this works: both clients AND servers use this function. you use it to declare which SRTP profiles you support, and then you negotiate with the peer about it. that's it, that's the function. it's literally just "here's what I bring to the table, let's talk" energy π
β RETURNS β
- if there's a syntax error β
GNUTLS_E_INVALID_REQUESTcomes back at you π - if everything's slay β
GNUTLS_E_SUCCESSπ - otherwise β an error code, as error codes do
Since 3.1.4 β yes she's been around, she's iconic, she's not new here π
π REPORTING BUGS π
found a bug? spill it, don't gatekeep it:
- 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: use it, share it, 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 page, bestie πΈ this was the gnutls manual, version 3.8.13, and yeah this is the gnutls_srtp_set_profile_direct(3) page β go negotiate those SRTP profiles, you're the main character, no cap π
β¨
π¦ 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