gnutls_audit_push_context(3)
π gnutls_audit_push_context(3) π
okay bestie so you found your way into the gnutls manual, and honestly? iconic. this one's a little function called gnutls_audit_push_context β a whole API function, no cap β and she's here to help you keep your audit context stack in order. let's get into it π
β¨ NAME β¨
gnutls_audit_push_context β it's an API function, that's literally her whole job title π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_audit_push_context(long context);
like, that's the whole vibe. one include, one call, void return, we love a low-maintenance queen π
π¦ ARGUMENTS π¦
long contextβ an opaque context. that's it, that's the tea. it's opaque, so don't go poking at its insides, bestie, just pass it along π
π DESCRIPTION π
so what she actually does: she pushes a brand-new crypto-auditing context onto the thread-local context stack. think of it like putting a new little sticky note on top of a stack of sticky notes, except the stack is per-thread and the notes are audit contexts ποΈβ¨
and here's the thing you CANNOT forget: this call must match up with the following gnutls_audit_pop_context() call. push, then pop. like a matching set. if you push and never pop you're gonna have a bad time, fr fr π
who is this for? it's useful for applications that define their own probe points for application level protocols π so if you're out here building your own protocol on top and you wanna hook it into the auditing situation, this is your girl π«Ά
β SINCE β
3.8.11 β she's been around since 3.8.11, so she's not new-new but she's not ancient either. a solid era π
π 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.
yep, that's the legal bit, verbatim, no edits, we respect the paperwork π
π₯ 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/
that's your homework, bestie, go read it πβ¨
and that's the whole page, mwah π this lil slice of the docs is from gnutls 3.8.13 β shoutout to the gnutls crew, thanks for the manpage, you ate ππ§π
π¦ 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