gnutls_db_set_ptr(3)

✨ gnutls_db_set_ptr(3) ✨

okay bestie, welcome to the gnutls manual πŸ’– this one's a lil cutie from the gnutls manual pages, so grab ur strawberry drink πŸ“ and let's go


🌸 NAME 🌸

gnutls_db_set_ptr β€” API function πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/gnutls.h>

void gnutls_db_set_ptr(gnutls_session_t session, void * ptr);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_session_t session β€” bestie this is, like, a gnutls_session_t type. that's it, that's the whole vibe πŸ’…
  • void * ptr β€” the pointer ✨ literally just the pointer. main character pointer energy.

πŸ’œ DESCRIPTION πŸ’œ

okay so the way this works: it sets the pointer that's gonna get handed over to the db store, retrieve and delete functions β€” and it shows up as the first argument to those. so like, it's ur lil custom baggage that travels with the callbacks 🧳 no cap, that's the entire job.


🫢 REPORTING BUGS 🫢

found a bug?? 😭 not the bugs. report them to bugs@gnutls.org β€” they wanna hear it fr fr.

home page is right here: https://www.gnutls.org 🏠


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, that's the license, periodt ✨


🌈 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!! πŸŽ€ go forth and set ur pointers, iykyk πŸ’…

this was gnutls 3.8.13, gnutls_db_set_ptr(3) β€” tysm for reading, mwah πŸ˜˜πŸ¦‹β­

πŸ“¦ where this page comes from