Function

Dexresolver_lookup_records

unstable since: 1.2

Declaration [src]

DexFuture*
dex_resolver_lookup_records (
  GResolver* resolver,
  const char* rrname,
  GResolverRecordType record_type
)

Description [src]

Available since: 1.2

Parameters

resolver

Type: GResolver

A GResolver.

The data is owned by the caller of the function.
rrname

Type: const char*

DNS record name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
record_type

Type: GResolverRecordType

DNS record type.

Return value

Type: DexFuture

A DexFuture that resolves to a GList of GVariant or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.