summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2014-06-29 13:21:04 +0200
committerJens Georg <mail@jensge.org>2014-06-29 13:27:40 +0200
commit07b8f4b16ec1c8642187876b3d477b888ae3f1ea (patch)
tree89495ecc8293562ef4f2526d5ed93105f89a6a8c
parentadaad1bc9eddcd1e9e4a6b25015271ec327377b1 (diff)
downloadgupnp-07b8f4b16ec1c8642187876b3d477b888ae3f1ea.tar.gz
Add missing function declaration
Signed-off-by: Jens Georg <mail@jensge.org>
-rw-r--r--doc/gupnp-sections.txt1
-rw-r--r--libgupnp/gupnp-context.c4
-rw-r--r--libgupnp/gupnp-context.h4
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__ */