gnutls_srtp_get_profile_id(3)
β¨ gnutls_srtp_get_profile_id β¨
okay bestie, welcome to the gnutls manual π this one lives in the gnutls section (section 3, the library-call girlies π«Ά), and it's all about turning a cute little profile name into a real, honest-to-god profile id. no cap.
πΈ NAME πΈ
gnutls_srtp_get_profile_id β literally just an API function, that's the whole vibe π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int gnutls_srtp_get_profile_id(const char * name, gnutls_srtp_profile_t
* profile);
yes she's a two-arg girlie and yes the line break is exactly like that, don't @ me π
π ARGUMENTS π
const char * nameβ the name of the profile you wanna look up π like, the string version, the name-brand version.gnutls_srtp_profile_t * profileβ this bad boy will hold the profile id π it's an out-param, so she gets filled in for you. main character energy fr fr.
π DESCRIPTION π
so the way that this works is: this function lets you look up a profile based on a string. that's it. that's the whole thing. you hand her a name, she hands you back the id. iconic behavior, no notes β¨
β RETURNS β
when it goes right, GNUTLS_E_SUCCESS (0) comes back at you, slay π otherwise you get a negative error code, which is the "something went wrong bestie" signal π
also just so u know: since 3.1.4 π
π REPORTING BUGS π
found a bug? don't gatekeep, report it to <bugs@gnutls.org> π§
home page, for when u wanna scroll: 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 π«Ά like, go off, share the doc, 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, then bestie u gotta visit:
https://www.gnutls.org/manual/
and that's the whole page, periodt π
this was gnutls_srtp_get_profile_id from the gnutls manual, version 3.8.13, dated gnutls_srtp_get_profile_id(3) β mwah, love u, go look up some profiles π¦π
π¦ 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