summaryrefslogtreecommitdiff
path: root/libsoup/soup-server.h
diff options
context:
space:
mode:
authorAndreas Rottmann <a.rottmann@gmx.at>2011-03-12 20:28:03 +0100
committerAndreas Rottmann <a.rottmann@gmx.at>2011-03-12 20:28:59 +0100
commitaf48c71607a6b84777c65e031c9e121051cbd13f (patch)
treef4dfb2157a27a9b9b9edef805902c48d0dd7490f /libsoup/soup-server.h
parentb4503671b1f2b5a907dc7a44c07dbc473f680282 (diff)
downloadlibsoup-af48c71607a6b84777c65e031c9e121051cbd13f.tar.gz
Add 'soup_server_disconnect' method
This is primarily useful for language bindings, where you don't have explicit control over reference counts, and hence cannot just use 'g_object_unref' on the server object. See https://bugzilla.gnome.org/show_bug.cgi?id=638576
Diffstat (limited to 'libsoup/soup-server.h')
-rw-r--r--libsoup/soup-server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsoup/soup-server.h b/libsoup/soup-server.h
index 88c15703..4ea17ad3 100644
--- a/libsoup/soup-server.h
+++ b/libsoup/soup-server.h
@@ -75,6 +75,7 @@ SoupSocket *soup_server_get_listener (SoupServer *server);
void soup_server_run (SoupServer *server);
void soup_server_run_async (SoupServer *server);
void soup_server_quit (SoupServer *server);
+void soup_server_disconnect (SoupServer *server);
GMainContext *soup_server_get_async_context (SoupServer *server);