gnutls_global_set_time_function(3)

✨ gnutls_global_set_time_function ✨

okay bestie, buckle up, we're doing an API function from the gnutls manual and honestly? it's a little baddie πŸ’…


πŸŽ€ NAME πŸŽ€

gnutls_global_set_time_function β€” it's an API function, periodt.


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

void gnutls_global_set_time_function(gnutls_time_func time_func);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_time_func time_func β€” bestie this is the system time function, like it's a gnutls_time_func() callback. that's literally it. she's the moment. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so THIS is the function where you get to override the default system time function. yes, override it. main character behaviour fr fr. ✨

and the rule? the function you provide has to behave the same as the standard function. no cap. it's giving "same vibe, different implementation" β€” so keep it consistent, okay? 🫢


⭐ SINCE ⭐

2.12.0 β€” she's been iconic since way back, lowkey a legend. πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? don't gatekeep, tell the devs:


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: share it, remix it, just keep the receipts πŸ’–)


πŸ’œ SEE ALSO πŸ’œ

the full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory does NOT contain the HTML form, bestie, go visit:

https://www.gnutls.org/manual/

that's the whole vibe check. 🌸


and that's a wrap, gorgeous πŸŽ€ this was the gnutls manual page, version 3.8.13 β€” go forth and set your time functions, you absolute icon πŸ’…βœ¨

πŸ“¦ where this page comes from