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 Β© 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