X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fghostutils.h;h=4c478810c3a3682e2f01feae7edd167f643ecb29;hb=ea4f9ce8a060d53cbc299e4c384089f6cc926caa;hp=0349da364b0c8de7dd8454a691a825fe34bca32a;hpb=73007021796f33d7ccec4e5f2bb2b2f8660347f2;p=platform%2Fupstream%2Fglib.git diff --git a/glib/ghostutils.h b/glib/ghostutils.h index 0349da3..4c47881 100644 --- a/glib/ghostutils.h +++ b/glib/ghostutils.h @@ -12,27 +12,30 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . */ +#ifndef __G_HOST_UTILS_H__ +#define __G_HOST_UTILS_H__ + #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_HOST_UTILS_H__ -#define __G_HOST_UTILS_H__ - #include G_BEGIN_DECLS +GLIB_AVAILABLE_IN_ALL gboolean g_hostname_is_non_ascii (const gchar *hostname); +GLIB_AVAILABLE_IN_ALL gboolean g_hostname_is_ascii_encoded (const gchar *hostname); +GLIB_AVAILABLE_IN_ALL gboolean g_hostname_is_ip_address (const gchar *hostname); +GLIB_AVAILABLE_IN_ALL gchar *g_hostname_to_ascii (const gchar *hostname); +GLIB_AVAILABLE_IN_ALL gchar *g_hostname_to_unicode (const gchar *hostname); G_END_DECLS