gnutls_srtp_get_profile_name(3)

πŸ’– gnutls_srtp_get_profile_name β€” the gnutls manual, bestie edition πŸ’–

okay so you're in the gnutls manual (vibes: 3.8.13) and you wanna know what an SRTP profile is actually called, like, in human words? girl, same. this is the glow-up function for that.


✨ NAME ✨

gnutls_srtp_get_profile_name β€” it's an API function, and it's here to hand you the name πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

const char * gnutls_srtp_get_profile_name(gnutls_srtp_profile_t
profile);

like yes bestie, that's the whole thing. one include, one function, no drama 🌸


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_srtp_profile_t profile β€” the profile you want a string for, i.e. the thing you're asking "hey what's ur name" πŸ™ˆ

🌈 DESCRIPTION 🌈

This function allows you to get the corresponding name for a SRTP protection profile. that's it. that's the whole job. you give it a profile, it gives you back the name. it's giving personal assistant energy, fr fr ✨


⭐ RETURNS ⭐

On success, the name of a SRTP profile as a string. otherwise NULL β€” so like, check for NULL, don't be out here dereferencing nothing 😭

lowkey important: this has been a thing Since 3.1.4 πŸ‘‘

πŸ’€ REPORTING BUGS πŸ’€

found a bug? not the vibe, but ok, 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. slay, 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/

and that's the whole page, bestie πŸ’œ this was gnutls_srtp_get_profile_name(3) from the gnutls manual, version 3.8.13 β€” mwah, go name some profiles, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from