dane_query_data(3)
π dane_query_data(3) π
okay bestie, welcome to the gnutls manual, and specifically the lil page for dane_query_data β yes it's a 3 page, yes it's library-coded, and yes we're gonna get through it together. grab a strawberry π
β¨ NAME β¨
dane_query_data β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/dane.h>
int dane_query_data(dane_query_t q, unsigned int idx, unsigned int *
usage, unsigned int * type, unsigned int * match, gnutls_datum_t *
data);
like... she's a whole function, she takes six things, and she wants your pointers. iconic honestly.
π ARGUMENTS π
dane_query_t qβ the query result structure, aka the whole vibe you're pulling data out of π¦unsigned int idxβ the index of the query response. yes queen, you gotta say which one π«Άunsigned int * usageβ the certificate usage (peepdane_cert_usage_tfor the deets) β¨unsigned int * typeβ the certificate type (that'sdane_cert_type_t, go look) πunsigned int * matchβ the DANE matching type (dane_match_type_t, she's right there) πgnutls_datum_t * dataβ the DANE data itself. the main character. π
π DESCRIPTION π
so basically: this function will provide the DANE data from the query response. that's it, that's the whole serve. you hand her a query result and an index, she fills in your usage / type / match / data pointers. slay. no cap. πΈ
β RETURNS β
on success, DANE_E_SUCCESS (0) is returned, otherwise a negative error value. so like, zero is the good one here β don't let anyone tell you otherwise. π
π REPORTING BUGS π
found a bug? not me gatekeeping β report it 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. 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/
fr fr, that's the whole page. go forth and query your DANE data, bestie π§
okay bye ilysm, this was dane_query_data(3) from gnutls 3.8.13 β mwah, take care of her πβ¨π
π¦ 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