Package ch.bailu.gtk.gio
Interface ResolverClass.OnLookupByNameWithFlags
- Enclosing class:
- ResolverClass
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiononLookupByNameWithFlags
(CallbackHandler __self, Resolver resolver, Str hostname, int flags, Cancellable cancellable)
-
Method Details
-
onLookupByNameWithFlags
List onLookupByNameWithFlags(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull Str hostname, int flags, @Nullable Cancellable cancellable) - Parameters:
resolver
- a #GResolverhostname
- the hostname to look upflags
- extra #GResolverNameLookupFlags for the lookupcancellable
- a #GCancellable, or %NULL- Returns:
- a non-empty #GList of #GInetAddress, or %NULL on error. You must unref each of the addresses and free the list when you are done with it. (You can use g_resolver_free_addresses() to do this.)
-