Resolver.lookupRecordsFinish

Retrieves the result of a previous call to g_resolver_lookup_records_async(). Returns a list of records as GVariant tuples. See GResolverRecordType for information on what the records contain. If the DNS resolution failed, error (if non-NULL) will be set to a value from GResolverError. If the operation was cancelled, error will be set to G_IO_ERROR_CANCELLED. Since 2.34

class Resolver
lookupRecordsFinish

Parameters

result AsyncResultIF

the result passed to your GAsyncReadyCallback

Return Value

Type: ListG

a GList of GVariant, or NULL on error. You must free each of the records and the list when you are done with it. (You can use g_list_free_full() with g_variant_unref() to do this.). [element-type GVariant][transfer full]

Throws

GException on failure.

Meta