public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.22")]
public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.60")]
+ public virtual GLib.List<GLib.InetAddress> lookup_by_name_with_flags (string hostname, GLib.ResolverNameLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.60")]
+ public virtual async GLib.List<GLib.InetAddress> lookup_by_name_with_flags_async (string hostname, GLib.ResolverNameLookupFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.34")]
public virtual GLib.List<GLib.Variant> lookup_records (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.34")]
FOR_SESSION,
PERMANENTLY
}
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_NAME_LOOKUP_FLAGS_", type_id = "g_resolver_name_lookup_flags_get_type ()")]
+ [Flags]
+ [Version (since = "2.60")]
+ public enum ResolverNameLookupFlags {
+ DEFAULT,
+ IPV4_ONLY,
+ IPV6_ONLY
+ }
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_RECORD_", type_id = "g_resolver_record_type_get_type ()")]
[Version (since = "2.34")]
public enum ResolverRecordType {
public delegate void ObjectInfoSetValueFunction (GLib.Value value, void* object);
[CCode (cheader_filename = "girepository.h", has_target = false)]
public delegate void ObjectInfoUnrefFunction (void* object);
+ [CCode (cheader_filename = "girepository.h", cname = "GI_MAJOR_VERSION")]
+ public const int MAJOR_VERSION;
+ [CCode (cheader_filename = "girepository.h", cname = "GI_MICRO_VERSION")]
+ public const int MICRO_VERSION;
+ [CCode (cheader_filename = "girepository.h", cname = "GI_MINOR_VERSION")]
+ public const int MINOR_VERSION;
+ [CCode (cheader_filename = "girepository.h", cname = "GI_TYPE_TAG_N_TYPES")]
+ public const int TYPE_TAG_N_TYPES;
+ [CCode (cheader_filename = "girepository.h", cname = "gi_get_major_version")]
+ public static uint get_major_version ();
+ [CCode (cheader_filename = "girepository.h", cname = "gi_get_micro_version")]
+ public static uint get_micro_version ();
+ [CCode (cheader_filename = "girepository.h", cname = "gi_get_minor_version")]
+ public static uint get_minor_version ();
}
* skip=false
+cclosure_marshal_generic skip
info_new skip
CallbackInfo base_type="GI.CallableInfo"
EXACT
}
[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_DIRECTION_", type_id = "pango_direction_get_type ()")]
- [Version (deprecated = true, deprecated_since = "1.44")]
public enum Direction {
LTR,
RTL,