Package ch.bailu.gtk.gio
Interface ResolverClass.OnLookupRecords
- 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 TypeMethodDescriptiononLookupRecords
(CallbackHandler __self, Resolver resolver, Str rrname, int record_type, Cancellable cancellable)
-
Method Details
-
onLookupRecords
List onLookupRecords(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull Str rrname, int record_type, @Nullable Cancellable cancellable) - Parameters:
resolver
- a #GResolverrrname
- the DNS name to look up the record forrecord_type
- the type of DNS record to look upcancellable
- a #GCancellable, or %NULL- Returns:
- 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.)
-