gnutls_x509_crq_get_version(3)

πŸ’– gnutls_x509_crq_get_version β€” the manual page, but make it cute πŸ’–

okay bestie, so this is a page from the gnutls manual (yes, that gnutls, the TLS library, she's iconic), and today's main character is gnutls_x509_crq_get_version. it's a lil function. it does one thing. and honestly? it eats. ✨


🌸 NAME 🌸

gnutls_x509_crq_get_version β€” API function

like, that's literally it. that's the whole name. short, sweet, to the point, no notes. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

so here's how you call her:

#include <gnutls/x509.h>

int gnutls_x509_crq_get_version(gnutls_x509_crq_t crq);

yes the header is #include <gnutls/x509.h>, don't forget it, she will NOT compile without it and she will NOT text you back. 😭


πŸŽ€ ARGUMENTS πŸŽ€

one (1) argument, and she's lowkey important:

  • gnutls_x509_crq_t crq β€” should contain a gnutls_x509_crq_t type. that's the vibe. that's what she wants. hand her one of those and she's happy. 🫢

✨ DESCRIPTION ✨

okay so the way that this works is: this function will return the version of the specified Certificate request. that's it. that's the whole plot. no subplot, no twist, just a version number looking at you like πŸ‘οΈπŸ‘„πŸ‘οΈ


πŸ‘‘ RETURNS πŸ‘‘

what you get back:

  • the version of certificate request 🌟
  • or a negative error code on error πŸ’€ (yes, negative. if you see a negative number, something went wrong, and it's giving "we need to talk")

πŸ› REPORTING BUGS πŸ›

found a bug? not me manifesting that but okay, here's where to send it:

be nice, be specific, include the details, the maintainers are people too. πŸ₯Ί


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.

so basically: take it, share it, remix it, just keep the receipts. free of charge, no royalty, that's the deal. 🀝


πŸ” 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/

go read the whole thing, it's a journey, it's a saga, it's giving encyclopedia but make it TLS. πŸ“š


bestie reminder: this page is a manual page. it tells you what the function does, not what to do with your life. but also, read the whole thing, iykyk. πŸ’œ

and that's the whole page, bestie!! this was gnutls version 3.8.13, manual page gnutls_x509_crq_get_version(3), brought to you by the lovely folks who keep the TLS world spinning. mwah. πŸ’‹βœ¨

πŸ“¦ where this page comes from