[vala] glib-2.0: Add bindings for g_hostname_*



commit 1938c4659e2ed6562fa7e79f1234ac828c314918
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Oct 27 16:46:03 2015 +0100

    glib-2.0: Add bindings for g_hostname_*

 vapi/glib-2.0.vapi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 39b735a..0d71c48 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2741,6 +2741,14 @@ namespace GLib {
                N_DIRECTORIES
        }
 
+       namespace Hostname {
+               public static bool is_non_ascii (string hostname);
+               public static bool is_ascii_encoded (string hostname);
+               public static bool is_ip_address (string hostname);
+               public static string to_ascii (string hostname);
+               public static string to_unicode (string hostname);
+       }
+
        namespace Path {
                public static bool is_absolute (string file_name);
                public static unowned string skip_root (string file_name);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]