summaryrefslogtreecommitdiff
path: root/dbus/dbus-server.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-01-19 05:14:46 +0000
committerHavoc Pennington <hp@redhat.com>2003-01-19 05:14:46 +0000
commit14cc2707a0318381b5cc68588efc36f61d617b78 (patch)
treeb15d245ad5ff5b650b72ed1aaeda1ed3bcefac30 /dbus/dbus-server.h
parent502fbda2201a4e7e50d687f42af29c82e66299bb (diff)
downloaddbus-14cc2707a0318381b5cc68588efc36f61d617b78.tar.gz
2003-01-19 Havoc Pennington <hp@pobox.com>
* dbus/dbus-connection.c (dbus_connection_get_is_authenticated): new function * dbus/dbus-server.c (dbus_server_set_max_connections) (dbus_server_get_max_connections, dbus_server_get_n_connections): keep track of current number of connections, and add API for setting a max (but haven't implemented enforcing the max yet)
Diffstat (limited to 'dbus/dbus-server.h')
-rw-r--r--dbus/dbus-server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbus/dbus-server.h b/dbus/dbus-server.h
index 83f76100..84714570 100644
--- a/dbus/dbus-server.h
+++ b/dbus/dbus-server.h
@@ -60,6 +60,11 @@ void dbus_server_handle_watch (DBusServer *server,
unsigned int condition);
+void dbus_server_set_max_connections (DBusServer *server,
+ int max_connections);
+int dbus_server_get_max_connections (DBusServer *server);
+
+int dbus_server_get_n_connections (DBusServer *server);
DBUS_END_DECLS;