diff options
Diffstat (limited to 'gio/gioenums.h')
-rw-r--r-- | gio/gioenums.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gio/gioenums.h b/gio/gioenums.h index 4c595803d..4e097624e 100644 --- a/gio/gioenums.h +++ b/gio/gioenums.h @@ -722,6 +722,7 @@ typedef enum { * @G_RESOLVER_RECORD_TXT: look up DNS TXT records for a name * @G_RESOLVER_RECORD_SOA: look up DNS SOA records for a zone * @G_RESOLVER_RECORD_NS: look up DNS NS records for a domain + * @G_RESOLVER_RECORD_HTTPS: look up DNS HTTPS records for a zone. Since: 2.72 * * The type of record that g_resolver_lookup_records() or * g_resolver_lookup_records_async() should retrieve. The records are returned @@ -754,6 +755,19 @@ typedef enum { * %G_RESOLVER_RECORD_NS records are returned as variants with the signature * `(s)`, representing a string of the hostname of the name server. * + * %G_RESOLVER_RECORD_HTTPS records are returned as variants with the signature + * `(qsa{sv})`, representing the priority, target host, and params of the domain. + * The keys of the params dictionary are: + * - `alpn`: array of strings of protocol names + * - `no-default-alpn`: an empty string if present + * - `port`: uint16 (0-65535) + * - `ipv4hint`: array of strings of addresses + * - `ipv6hint`: array of strings of addresses + * - `ech`: byte array of data containing an ECHConfigList defined [here](https://datatracker.ietf.org/doc/draft-ietf-tls-esni/) + * - `mandatory`: array of strings matching these keys + * - `keyN`: for unknown keys, N is the numeric value of the key type, the value is a byte array of unparsed data + * See the [RFC](https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https/) for more information. + * * Since: 2.34 */ typedef enum { @@ -761,7 +775,8 @@ typedef enum { G_RESOLVER_RECORD_MX, G_RESOLVER_RECORD_TXT, G_RESOLVER_RECORD_SOA, - G_RESOLVER_RECORD_NS + G_RESOLVER_RECORD_NS, + G_RESOLVER_RECORD_HTTPS } GResolverRecordType; /** |