gnutls_db_check_entry_time(3)

✨ gnutls_db_check_entry_time(3) ✨

okay so bestie, welcome to the gnutls manual πŸ’– this one's from the gnutls 3.8.13 era and it's giving "tiny function, big responsibilities" energy, iykyk.


🌸 NAME 🌸

gnutls_db_check_entry_time β€” literally the API function that tells you when a database entry was active πŸ•°οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/gnutls.h>

time_t gnutls_db_check_entry_time(gnutls_datum_t * entry);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_datum_t * entry β€” bestie this is a pointer to a gnutls_datum_t type. that's it, that's the whole argument 🫢

πŸ’… DESCRIPTION πŸ’…

So this function returns the time that this entry was active. that's the whole vibe. it can be used for database entry expiration, which is lowkey iconic because expiring stuff is a whole thing πŸ‘‘


⭐ RETURNS ⭐

The time this entry was created, or zero on error 😭 (zero means something went wrong, no cap).


🌈 REPORTING BUGS 🌈

Found a bug? not the vibe. report it to <bugs@gnutls.org> πŸ“§

Home page: 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. (fr fr, go forth and share πŸ’–)


🧚 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 πŸŽ€ this was gnutls 3.8.13, page gnutls_db_check_entry_time(3) β€” slay, periodt, go expire some database entries responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from