lookupRecordsFinish

open fun lookupRecordsFinish(result: AsyncResult): <Error class: unknown class><<Error class: unknown class>>

Retrieves the result of a previous call to g_resolver_lookup_records_async(). Returns a non-empty 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,

Return

a non-empty #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.)

Since

2.34

Parameters

result

the result passed to your #GAsyncReadyCallback