mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-27 19:38:55 +02:00
Add GResolver, a glib-ish interface to DNS
GResolver provides asynchronous (and synchronous-but-cancellable) APIs for resolving hostnames, reverse-resolving IP addresses back to hostnames, and resolving SRV records. Part of #548466.
This commit is contained in:
@@ -43,11 +43,14 @@ IGNORE_HFILES= \
|
||||
glocalvfs.h \
|
||||
gnativevolumemonitor.h \
|
||||
gpollfilemonitor.h \
|
||||
gthreadedresolver.h \
|
||||
gunionvolumemonitor.h \
|
||||
gunixdrive.h \
|
||||
gunixresolver.h \
|
||||
gunixvolume.h \
|
||||
gvolumeprivate.h \
|
||||
gwin32appinfo.h \
|
||||
gwin32resolver.h \
|
||||
inotify-diag.h \
|
||||
inotify-helper.h \
|
||||
inotify-kernel.h \
|
||||
@@ -85,7 +88,8 @@ GTKDOC_LIBS = \
|
||||
$(NULL)
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb
|
||||
MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g
|
||||
MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
|
||||
--ignore-files=libasyncns
|
||||
|
||||
# Images to copy into HTML directory
|
||||
HTML_IMAGES = \
|
||||
|
@@ -92,10 +92,12 @@
|
||||
</chapter>
|
||||
<chapter id="networking">
|
||||
<title>Networking</title>
|
||||
<xi:include href="xml/gresolver.xml"/>
|
||||
<xi:include href="xml/ginetaddress.xml"/>
|
||||
<xi:include href="xml/gsocketaddress.xml"/>
|
||||
<xi:include href="xml/ginetsocketaddress.xml"/>
|
||||
<xi:include href="xml/gunixsocketaddress.xml"/>
|
||||
<xi:include href="xml/gsrvtarget.xml"/>
|
||||
</chapter>
|
||||
<chapter id="utils">
|
||||
<title>Utilities</title>
|
||||
|
@@ -1404,3 +1404,55 @@ G_UNIX_SOCKET_ADDRESS_GET_CLASS
|
||||
<SUBSECTION Private>
|
||||
g_unix_socket_address_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gresolver</FILE>
|
||||
<TITLE>GResolver</TITLE>
|
||||
GResolver
|
||||
g_resolver_get_default
|
||||
g_resolver_set_default
|
||||
g_resolver_lookup_by_name
|
||||
g_resolver_lookup_by_name_async
|
||||
g_resolver_lookup_by_name_finish
|
||||
g_resolver_free_addresses
|
||||
g_resolver_lookup_by_address
|
||||
g_resolver_lookup_by_address_async
|
||||
g_resolver_lookup_by_address_finish
|
||||
g_resolver_lookup_service
|
||||
g_resolver_lookup_service_async
|
||||
g_resolver_lookup_service_finish
|
||||
g_resolver_free_targets
|
||||
<SUBSECTION>
|
||||
G_RESOLVER_ERROR
|
||||
GResolverError
|
||||
<SUBSECTION Standard>
|
||||
GResolverClass
|
||||
G_IS_RESOLVER
|
||||
G_IS_RESOLVER_CLASS
|
||||
G_RESOLVER
|
||||
G_RESOLVER_CLASS
|
||||
G_RESOLVER_GET_CLASS
|
||||
G_TYPE_RESOLVER
|
||||
<SUBSECTION Private>
|
||||
g_resolver_get_type
|
||||
g_resolver_error_quark
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gsrvtarget</FILE>
|
||||
<TITLE>GSrvTarget</TITLE>
|
||||
GSrvTarget
|
||||
g_srv_target_new
|
||||
g_srv_target_copy
|
||||
g_srv_target_free
|
||||
g_srv_target_get_hostname
|
||||
g_srv_target_get_port
|
||||
g_srv_target_get_priority
|
||||
g_srv_target_get_weight
|
||||
g_srv_target_get_expires
|
||||
g_srv_target_array_sort
|
||||
<SUBSECTION Standard>
|
||||
G_TYPE_SRV_TARGET
|
||||
<SUBSECTION Private>
|
||||
g_srv_target_get_type
|
||||
</SECTION>
|
||||
|
@@ -55,6 +55,7 @@ g_native_volume_monitor_get_type
|
||||
g_output_stream_get_type
|
||||
g_output_stream_splice_flags_get_type
|
||||
g_password_save_get_type
|
||||
g_resolver_get_type
|
||||
g_seekable_get_type
|
||||
g_simple_async_result_get_type
|
||||
g_socket_address_get_type
|
||||
|
Reference in New Issue
Block a user