mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-29 21:33:30 +02:00
Add hostname-related utilities in glib/ghostutils.h
Functions for converting between UTF-8 IDNs (Internationalized Domain Names) and their ASCII-Compatible Encodings, plus a function to recognize IP addresses. Part of #548466.
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
<!ENTITY glib-Version SYSTEM "xml/version.xml">
|
||||
<!ENTITY glib-Uri SYSTEM "xml/gurifuncs.xml">
|
||||
<!ENTITY glib-Testing SYSTEM "xml/testing.xml">
|
||||
<!ENTITY glib-Hostutils SYSTEM "xml/ghostutils.xml">
|
||||
|
||||
<!ENTITY glib-Compiling SYSTEM "compiling.sgml">
|
||||
<!ENTITY glib-Building SYSTEM "building.sgml">
|
||||
@@ -162,6 +163,7 @@ synchronize their operation.
|
||||
&glib-Spawn;
|
||||
&glib-Fileutils;
|
||||
&glib-Uri;
|
||||
&glib-Hostutils;
|
||||
&glib-Shell;
|
||||
&glib-Option;
|
||||
&glib-Pattern-Matching;
|
||||
|
@@ -2653,3 +2653,16 @@ g_test_log_buffer_push
|
||||
g_test_log_buffer_pop
|
||||
g_test_log_msg_free
|
||||
</SECTION>
|
||||
|
||||
|
||||
<SECTION>
|
||||
<FILE>ghostutils</FILE>
|
||||
<TITLE>Hostname Utilities</TITLE>
|
||||
g_hostname_to_ascii
|
||||
g_hostname_to_unicode
|
||||
<SUBSECTION>
|
||||
g_hostname_is_non_ascii
|
||||
g_hostname_is_ascii_encoded
|
||||
<SUBSECTION>
|
||||
g_hostname_is_ip_address
|
||||
</SECTION>
|
||||
|
64
docs/reference/glib/tmpl/ghostutils.sgml
Normal file
64
docs/reference/glib/tmpl/ghostutils.sgml
Normal file
@@ -0,0 +1,64 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
Hostname Utilities
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_hostname_to_ascii ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hostname:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_hostname_to_unicode ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hostname:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_hostname_is_non_ascii ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hostname:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_hostname_is_ascii_encoded ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hostname:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_hostname_is_ip_address ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hostname:
|
||||
@Returns:
|
||||
|
||||
|
Reference in New Issue
Block a user