Improve GNetworkMonitor docs
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 Dec 2011 17:56:20 +0000 (12:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 Dec 2011 18:21:55 +0000 (13:21 -0500)
Make sure we get signal and property docs, and mention
the extension point in the overview.

docs/reference/gio/gio.types
docs/reference/gio/overview.xml

index 895b316..d547711 100644 (file)
@@ -56,6 +56,7 @@ g_mount_get_type
 g_mount_operation_get_type
 g_native_volume_monitor_get_type
 g_network_address_get_type
+g_network_monitor_get_type
 g_network_service_get_type
 g_output_stream_get_type
 g_permission_get_type
index a6e327b..bde9b6f 100644 (file)
@@ -81,8 +81,9 @@
           <listitem><para>stores and retrieves application settings</para></listitem>
        </varlistentry>
     </variablelist>
-    There is support for network programming, including name resolution, lowlevel socket
-    APIs and highlevel client and server helper classes:
+    There is support for network programming, including connectivity monitoring,
+    name resolution, lowlevel socket APIs and highlevel client and server
+    helper classes:
     <variablelist>
        <varlistentry>
           <term>GSocket</term>
           <term>GSocketConnection</term>
           <listitem><para>network connection stream</para></listitem>
        </varlistentry>
+       <varlistentry>
+          <term>GNetworkMonitor</term>
+          <listitem><para>network connectivity monitoring</para></listitem>
+       </varlistentry>
     </variablelist>
     There is support for connecting to <link linkend="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</link>,
     sending and receiving messages, owning and watching bus names,
        point based on libproxy.
      </para>
    </formalpara>
-
    <formalpara>
      <title>G_TLS_BACKEND_EXTENSION_POINT_NAME</title>
 
      </para>
    </formalpara>
 
+   <formalpara>
+     <title>G_NETWORK_MONITOR_EXTENSION_POINT_NAME</title>
+
+     <para>
+       Allows to provide implementations for network connectivity
+       monitoring.
+       Implementations of this extension point must implement
+       the #GNetworkMonitorInterface interface.
+     </para>
+     <para>
+       GIO contains an implementation of this extension point
+       that is using the netlink interface of the Linux kernel.
+     </para>
+   </formalpara>
   </chapter>
 </part>
+