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 a gnutls_session_t type. 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:

they wanna hear from you, fr fr πŸ™ˆ


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