| 1 |
[CCode (cprefix = "G", gir_namespace = "Gio", gir_version = "2.0", lower_case_cprefix = "g_")] |
| 2 |
namespace GLibFixes { |
| 3 |
|
| 4 |
[CCode (cheader_filename = "gio/gio.h", type_id = "g_resolver_get_type ()")] |
| 5 |
public class Resolver : GLib.Object { |
| 6 |
[CCode (has_construct_function = false)] |
| 7 |
protected Resolver(); |
| 8 |
|
| 9 |
[Version (since = "2.22")] |
| 10 |
public static Resolver get_default(); |
| 11 |
|
| 12 |
[Version (since = "2.22")] |
| 13 |
public virtual string lookup_by_address(GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 14 |
|
| 15 |
[Version (since = "2.22")] |
| 16 |
public virtual async string lookup_by_address_async(GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 17 |
|
| 18 |
[Version (since = "2.22")] |
| 19 |
public virtual GLib.List<GLib.InetAddress> lookup_by_name(string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 20 |
|
| 21 |
[Version (since = "2.22")] |
| 22 |
public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async(string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 23 |
|
| 24 |
[Version (since = "2.34")] |
| 25 |
public virtual GLib.List<GLib.Variant> lookup_records(string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 26 |
|
| 27 |
[Version (since = "2.34")] |
| 28 |
public virtual async GLib.List<GLib.Variant> lookup_records_async(string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 29 |
|
| 30 |
[Version (since = "2.22")] |
| 31 |
public virtual GLib.List<GLib.SrvTarget> lookup_service(string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error ; |
| 32 |
|
| 33 |
[CCode (finish_vfunc_name = "lookup_service_finish", vfunc_name = "lookup_service_async")] |
| 34 |
public async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error; |
| 35 |
|
| 36 |
[Version (since = "2.22")] |
| 37 |
public void set_default(); |
| 38 |
|
| 39 |
public virtual signal void reload (); |
| 40 |
} |
| 41 |
|
| 42 |
} |