Class
GioThreadedResolver
since: 2.20
Instance methods
Methods inherited from GResolver (18)
g_resolver_get_timeout
Get the timeout applied to all resolver lookups. See GResolver:timeout.
since: 2.78
g_resolver_lookup_by_address
Synchronously reverse-resolves address to determine its
associated hostname.
since: 2.22
g_resolver_lookup_by_address_async
Begins asynchronously reverse-resolving address to determine its
associated hostname, and eventually calls callback, which must
call g_resolver_lookup_by_address_finish() to get the final result.
since: 2.22
g_resolver_lookup_by_address_finish
Retrieves the result of a previous call to g_resolver_lookup_by_address_async().
since: 2.22
g_resolver_lookup_by_name
Synchronously resolves hostname to determine its associated IP
address(es). hostname may be an ASCII-only or UTF-8 hostname, or
the textual form of an IP address (in which case this just becomes
a wrapper around g_inet_address_new_from_string()).
since: 2.22
g_resolver_lookup_by_name_async
Begins asynchronously resolving hostname to determine its
associated IP address(es), and eventually calls callback, which
must call g_resolver_lookup_by_name_finish() to get the result.
See g_resolver_lookup_by_name() for more details.
since: 2.22
g_resolver_lookup_by_name_finish
Retrieves the result of a call to g_resolver_lookup_by_name_async().
since: 2.22
g_resolver_lookup_by_name_with_flags
This differs from g_resolver_lookup_by_name() in that you can modify
the lookup behavior with flags. For example this can be used to limit
results with G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY.
since: 2.60
g_resolver_lookup_by_name_with_flags_async
Begins asynchronously resolving hostname to determine its
associated IP address(es), and eventually calls callback, which
must call g_resolver_lookup_by_name_with_flags_finish() to get the result.
See g_resolver_lookup_by_name() for more details.
since: 2.60
g_resolver_lookup_by_name_with_flags_finish
Retrieves the result of a call to g_resolver_lookup_by_name_with_flags_async().
since: 2.60
g_resolver_lookup_records
Synchronously performs a DNS record lookup for the given rrname and returns
a list of records as GVariant tuples. See GResolverRecordType for
information on what the records contain for each record_type.
since: 2.34
g_resolver_lookup_records_async
Begins asynchronously performing a DNS lookup for the given
rrname, and eventually calls callback, which must call
g_resolver_lookup_records_finish() to get the final result. See
g_resolver_lookup_records() for more details.
since: 2.34
g_resolver_lookup_records_finish
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.
since: 2.34
g_resolver_lookup_service
Synchronously performs a DNS SRV lookup for the given service and
protocol in the given domain and returns an array of GSrvTarget.
domain may be an ASCII-only or UTF-8 hostname. Note also that the
service and protocol arguments do not include the leading underscore
that appears in the actual DNS entry.
since: 2.22
g_resolver_lookup_service_async
Begins asynchronously performing a DNS SRV lookup for the given
service and protocol in the given domain, and eventually calls
callback, which must call g_resolver_lookup_service_finish() to
get the final result. See g_resolver_lookup_service() for more details.
since: 2.22
g_resolver_lookup_service_finish
Retrieves the result of a previous call to g_resolver_lookup_service_async().
since: 2.22
g_resolver_set_default
Sets resolver to be the application’s default resolver (reffing
resolver, and unreffing the previous default resolver, if any).
Future calls to g_resolver_get_default() will return this resolver.
since: 2.22
g_resolver_set_timeout
Set the timeout applied to all resolver lookups. See GResolver:timeout.
since: 2.78
Properties
Properties inherited from GResolver (1)
Signals
Signals inherited from GResolver (1)
GResolver::reload
Emitted when the resolver notices that the system resolver configuration has changed.
since: 2.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
since: 2.0