[gupnp/gupnp-1.4] doc: Add missing ContextFilter class



commit 599e63632e27c674ea77dfcb3a631028e301e47e
Author: Jens Georg <mail jensge org>
Date:   Thu Dec 30 09:58:10 2021 +0100

    doc: Add missing ContextFilter class

 doc/gupnp-docs.xml          |  9 ++++++++-
 doc/gupnp-sections.txt      | 21 +++++++++++++++++++++
 libgupnp/gupnp-white-list.c | 22 ++++++++++++++--------
 3 files changed, 43 insertions(+), 9 deletions(-)
---
diff --git a/doc/gupnp-docs.xml b/doc/gupnp-docs.xml
index 1101042..a848e34 100644
--- a/doc/gupnp-docs.xml
+++ b/doc/gupnp-docs.xml
@@ -75,12 +75,13 @@
       <title>Utility Functions</title>
       
       <xi:include href="xml/gupnp-acl.xml"/>
-      <xi:include href="xml/gupnp-white-list.xml"/>
+      <xi:include href="xml/gupnp-context-filter.xml"/>
       <xi:include href="xml/gupnp-resource-factory.xml"/>
       <xi:include href="xml/gupnp-xml-doc.xml"/>
       <xi:include href="xml/gupnp-error.xml"/>
       <xi:include href="xml/gupnp-types.xml"/>
       <xi:include href="xml/gupnp-misc.xml"/>
+      <xi:include href="xml/gupnp-white-list.xml"/>
     </chapter>
 
     <chapter id="api-tools">
@@ -182,6 +183,12 @@
     <xi:include href="xml/api-index-1.2.0.xml"><xi:fallback /></xi:include>
   </index>
 
+  <index id="api-index-1-4-0" role="1.4.0">
+    <title>Index of new symbols in 1.4.0</title>
+    <xi:include href="xml/api-index-1.4.0.xml"><xi:fallback /></xi:include>
+  </index>
+
+ 
   <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
 
   <xi:include href="fdl-1.1.xml"><xi:fallback /></xi:include>
diff --git a/doc/gupnp-sections.txt b/doc/gupnp-sections.txt
index f314f7e..af2573b 100644
--- a/doc/gupnp-sections.txt
+++ b/doc/gupnp-sections.txt
@@ -430,6 +430,8 @@ GUPNP_CONTROL_ERROR
 GUPnPControlError
 GUPNP_XML_ERROR
 GUPnPXMLError
+GUPNP_ROOT_DEVICE_ERROR
+GUPnPRootDeviceError
 <SUBSECTION Private>
 gupnp_server_error_quark
 gupnp_eventing_error_quark
@@ -491,6 +493,25 @@ gupnp_windows_context_manager_get_type
 <FILE>gupnp-network-manager</FILE>
 </SECTION>
 
+<SECTION>
+<FILE>gupnp-context-filter</FILE>
+<TITLE>GUPnPContextFilter</TITLE>
+GUPnPContextFilter
+GUPnPContextFilterClass
+gupnp_context_filter_add_entry
+gupnp_context_filter_add_entryv
+gupnp_context_filter_check_context
+gupnp_context_filter_clear
+gupnp_context_filter_get_enabled
+gupnp_context_filter_get_entries
+gupnp_context_filter_is_empty
+gupnp_context_filter_remove_entry
+gupnp_context_filter_set_enabled
+gupnp_context_manager_get_context_filter
+<SUBSECTION Standard>
+GUPNP_TYPE_CONTEXT_FILTER
+</SECTION>
+
 <SECTION>
 <FILE>gupnp-white-list</FILE>
 <TITLE>GUPnPWhiteList</TITLE>
diff --git a/libgupnp/gupnp-white-list.c b/libgupnp/gupnp-white-list.c
index 677d28e..6518075 100644
--- a/libgupnp/gupnp-white-list.c
+++ b/libgupnp/gupnp-white-list.c
@@ -9,9 +9,21 @@
 
 /**
  * SECTION:gupnp-white-list
- * @short_description: Class for network filtering.
+ * @short_description: Deprecated network filtering
+ */
+
+#include <config.h>
+#include <string.h>
+
+#include "gupnp-white-list.h"
+#include "gupnp-context-filter.h"
+
+/**
+ * GUPnPWhiteList:
+ *
+ * Utility class for context filtering in the context manager.
  *
- * #GUPnPWhiteList handles network filtering. It provides API to manage a list
+ * It provides API to manage a list
  * of entries that will be used to filter networks.
  * The #GUPnPWhiteList could be enabled or not. If it's enabled but the entries
  * list is empty, it behaves as disabled.
@@ -20,12 +32,6 @@
  * Deprecated: 1.4.0: Use #GUPnPContextFilter
  */
 
-#include <config.h>
-#include <string.h>
-
-#include "gupnp-white-list.h"
-#include "gupnp-context-filter.h"
-
 /**
  * gupnp_white_list_new:
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]