gnutls_url_is_supported(3)
π gnutls_url_is_supported(3) π
okay bestie, welcome to the gnutls manual, this one's a little guy but it's lowkey iconic. it's the gnutls_url_is_supported API function and we're gonna go through it together, no skimming, promise π«Ά
β¨ NAME β¨
gnutls_url_is_supported β API function
yes that's the whole name section. it's giving "just a girl, standing in front of a URL, asking if it's supported." π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
unsigned gnutls_url_is_supported(const char * url);
so you pull in the header, you call the function, you get back an unsigned. that's the whole vibe. periodt.
πΈ ARGUMENTS πΈ
const char * urlβ a URI that you want tested. that's it, that's the whole input, she's simple and she knows what she wants π
π DESCRIPTION π
okay so here's the tea: this function checks whether the url you handed it is supported or not.
and here's the part where it gets spicy β depending on the system libraries, GnuTLS may support pkcs11, tpmkey or other URLs. so like, it's not a fixed list, it literally depends on what your system has going on. main character energy is environment-dependent, as always β¨
π₯ RETURNS π₯
- non-zero β the given URL is supported, slay π
- zero β the URL is not known π
that's the whole return contract, no cap.
β SINCE β
3.1.0 β she's been around a minute, an elder stateswoman fr fr π
π REPORTING BUGS π
found something cursed? don't just scream into the group chat, actually tell the maintainers:
- Report bugs to
<bugs@gnutls.org>. - Home page:
https://www.gnutls.org
π COPYRIGHT π
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: go off, share it, remix it, just keep the receipt π§Ύπ)
π 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/
like, the whole manual manual. this page is just a lil snippet of the bigger picture iykyk πβ¨
and that's the page bestie!! this was gnutls 3.8.13, the gnutls_url_is_supported(3) page, mwah π stay supported, stay iconic, drink water πΈπ¦π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms