Companion

object Companion

Properties

Link copied to clipboard
open val type: <Error class: unknown class><Resolver>

Functions

Link copied to clipboard
fun freeAddresses(addresses: <Error class: unknown class>)

Frees @addresses (which should be the return value from g_resolver_lookup_by_name() or g_resolver_lookup_by_name_finish()). (This is a convenience method; you can also simply free the results by hand.)

Link copied to clipboard
fun freeTargets(targets: <Error class: unknown class>)

Frees @targets (which should be the return value from g_resolver_lookup_service() or g_resolver_lookup_service_finish()). (This is a convenience method; you can also simply free the results by hand.)

Link copied to clipboard

Gets the default #GResolver. You should unref it when you are done with it. #GResolver may use its reference count as a hint about how many threads it should allocate for concurrent DNS resolutions.

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of Resolver