From: Rico Tzschichholz Date: Tue, 27 Oct 2015 15:46:03 +0000 (+0100) Subject: glib-2.0: Add bindings for g_hostname_* X-Git-Tag: 0.30.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca832ee08e46d70263b1145ba7ce7f484be3623c;p=thirdparty%2Fvala.git glib-2.0: Add bindings for g_hostname_* (cherry picked from commit 1938c4659e2ed6562fa7e79f1234ac828c314918) --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 39b735a0d..0d71c4891 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);