diff options
author | Dan Winship <danw@gnome.org> | 2008-12-29 12:53:47 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-04-22 08:36:32 -0400 |
commit | c94d3f92885456e1dc9e2fb27b709017f29d04ce (patch) | |
tree | 76fd01f40374c14823a8d7fef4cd957bfbab4d8c /docs/reference | |
parent | 68fc0556275edf6e63a3242841f2981a42ee11cb (diff) |
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.
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/gio/Makefile.am | 6 | ||||
-rw-r--r-- | docs/reference/gio/gio-docs.xml | 2 | ||||
-rw-r--r-- | docs/reference/gio/gio-sections.txt | 52 | ||||
-rw-r--r-- | docs/reference/gio/gio.types | 1 |
4 files changed, 60 insertions, 1 deletions
diff --git a/docs/reference/gio/Makefile.am b/docs/reference/gio/Makefile.am index 43e003f41..1cd0cdca6 100644 --- a/docs/reference/gio/Makefile.am +++ b/docs/reference/gio/Makefile.am @@ -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 = \ diff --git a/docs/reference/gio/gio-docs.xml b/docs/reference/gio/gio-docs.xml index 8872ed7af..223127cae 100644 --- a/docs/reference/gio/gio-docs.xml +++ b/docs/reference/gio/gio-docs.xml @@ -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> diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt index a2d19b7c5..ae97ca5bb 100644 --- a/docs/reference/gio/gio-sections.txt +++ b/docs/reference/gio/gio-sections.txt @@ -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> diff --git a/docs/reference/gio/gio.types b/docs/reference/gio/gio.types index cedae876a..54d834d5c 100644 --- a/docs/reference/gio/gio.types +++ b/docs/reference/gio/gio.types @@ -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 |