X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fghostutils.h;h=4c478810c3a3682e2f01feae7edd167f643ecb29;hb=d0083f7e2dd621c6b78496bdb6ecf5d580c5e110;hp=0349da364b0c8de7dd8454a691a825fe34bca32a;hpb=1b033919845cef366842373da9f1cfb56f522d01;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