gnutls_db_get_ptr(3)
π gnutls_db_get_ptr(3) β the gnutls manual, bestie edition π
okay so picture this: you're deep in the gnutls manual, section 3, and you've stumbled onto this lil guy. it's called gnutls_db_get_ptr and ngl it is exactly what it sounds like. let's get into it π«Ά
β¨ NAME β¨
gnutls_db_get_ptr β the API function that hands you back your db pointer, no cap π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void * gnutls_db_get_ptr(gnutls_session_t session);
look at that. one include, one function, one return type. it's giving minimalism. it's giving clean. we love to see it β¨
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is literally just agnutls_session_ttype. that's the whole vibe of this argument. it's a session. it's typed. that's it. π
π DESCRIPTION π
so what does it do?? it gets the db function pointer. that's it. that's the whole thing. short king behavior fr fr π
like, you know how db store, retrieve and delete functions need a pointer to do their lil jobs? this is where that pointer lives. this function justβ¦ gets it. hands it over. iconic. β¨
π¦ RETURNS π¦
it returns the pointer that will be sent to db store, retrieve and delete functions, as the first argument.
so like. that pointer? yeah. it's the first argument those functions get. that's the whole return value. periodt π
π 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
they wanna hear from you, fr fr π
π 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.
(translation: you can copy and share this file however you want, no money needed, just keep the copyright notice and this notice intact. slay. π)
π 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/
iykyk β that link has everything, go look π
and that's the whole page bestie!! this was gnutls 3.8.13, page gnutls_db_get_ptr(3) β mwah, go forth and get those pointers π
β¨ππ¦
π¦ 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