gnutls_session_get_desc(3)
π gnutls_session_get_desc(3) π
okay bestie, so this is a page from the gnutls manual (section 3, the library-functions girlies β¨) and we're gonna talk about one very specific little function. it's giving "tell me about my session" energy and honestly? we're obsessed.
β¨ NAME β¨
gnutls_session_get_desc β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
char * gnutls_session_get_desc(gnutls_session_t session);
π ARGUMENTS π
gnutls_session_t sessionβ bestie. it's a gnutls session. that's the vibe. π¦
π DESCRIPTION π
so this function hands you back a string that describes the current session. like, it literally narrates what's going on in there. β¨
the string is null terminated and it's allocated using gnutls_malloc(). so yes, it's yours to deal with β the memory is allocated with gnutls_malloc(), no cap. π«Ά
β οΈ important!! if initial negotiation is not complete when this function is called, NULL will be returned. no negotiation, no description, periodt. π
π₯ RETURNS π₯
a description of the protocols and algorithms in the current session. iconic, truly. π
β SINCE β
3.1.10 β she's been here a while and she's still slaying. π
π REPORTING BUGS π
found a bug? don't be shy, tell the gnutls girlies:
- 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. (so like, free real estate, just keep the receipts bestie π§Ύβ¨)
π 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, go visit:
https://www.gnutls.org/manual/
and that's the whole page, bestie β go forth and describe your sessions π β¨
this was brought to you by gnutls version 3.8.13, and yes, the manual footer says gnutls_session_get_desc(3) down there too. mwah. ππ
π¦ 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