summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-connection-internal.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-connection-internal.h
parent502fbda2201a4e7e50d687f42af29c82e66299bb (diff)
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-connection-internal.h')
-rw-r--r--dbus/dbus-connection-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-connection-internal.h b/dbus/dbus-connection-internal.h
index 404e4ecf..6ad51191 100644
--- a/dbus/dbus-connection-internal.h
+++ b/dbus/dbus-connection-internal.h
@@ -27,6 +27,7 @@
#include <dbus/dbus-connection.h>
#include <dbus/dbus-message.h>
#include <dbus/dbus-transport.h>
+#include <dbus/dbus-resources.h>
DBUS_BEGIN_DECLS;
@@ -61,6 +62,9 @@ void _dbus_connection_handler_destroyed (DBusConnection *connect
DBusMessageHandler *handler);
+void _dbus_connection_set_connection_counter (DBusConnection *connection,
+ DBusCounter *counter);
+
dbus_bool_t _dbus_message_handler_add_connection (DBusMessageHandler *handler,
DBusConnection *connection);
void _dbus_message_handler_remove_connection (DBusMessageHandler *handler,