[gupnp] Add missing function declaration



commit 07b8f4b16ec1c8642187876b3d477b888ae3f1ea
Author: Jens Georg <mail jensge org>
Date:   Sun Jun 29 13:21:04 2014 +0200

    Add missing function declaration
    
    Signed-off-by: Jens Georg <mail jensge org>

 doc/gupnp-sections.txt   |    1 +
 libgupnp/gupnp-context.c |    4 +---
 libgupnp/gupnp-context.h |    4 ++++
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/doc/gupnp-sections.txt b/doc/gupnp-sections.txt
index 81df876..cb9b867 100644
--- a/doc/gupnp-sections.txt
+++ b/doc/gupnp-sections.txt
@@ -184,6 +184,7 @@ gupnp_context_get_subscription_timeout
 gupnp_context_get_default_language
 gupnp_context_set_default_language
 gupnp_context_add_server_handler
+gupnp_context_remove_server_handler
 gupnp_context_host_path
 gupnp_context_host_path_for_agent
 gupnp_context_unhost_path
diff --git a/libgupnp/gupnp-context.c b/libgupnp/gupnp-context.c
index 795d8d9..935feb5 100644
--- a/libgupnp/gupnp-context.c
+++ b/libgupnp/gupnp-context.c
@@ -1496,11 +1496,9 @@ _gupnp_context_add_server_handler_with_data (GUPnPContext *context,
 /**
  * gupnp_context_remove_server_handler:
  * @context: a #GUPnPContext
- * @use_acl: %TRUE, if the path should query the GUPnPContext::acl before
- * serving the resource, %FALSE otherwise.
  * @path: the toplevel path for the handler.
  *
- * Add a #SoupServerCallback to the #GUPnPContext<!-- -->'s #SoupServer.
+ * Remove a #SoupServerCallback from the #GUPnPContext<!-- -->'s #SoupServer.
  *
  * Since: 0.20.11
  */
diff --git a/libgupnp/gupnp-context.h b/libgupnp/gupnp-context.h
index 233d2fa..b2e4ece 100644
--- a/libgupnp/gupnp-context.h
+++ b/libgupnp/gupnp-context.h
@@ -145,6 +145,10 @@ gupnp_context_add_server_handler       (GUPnPContext *context,
                                         SoupServerCallback callback,
                                         gpointer user_data,
                                         GDestroyNotify destroy);
+
+void
+gupnp_context_remove_server_handler    (GUPnPContext *context,
+                                        const char *path);
 G_END_DECLS
 
 #endif /* __GUPNP_CONTEXT_H__ */


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