diff options
author | Havoc Pennington <hp@redhat.com> | 2003-01-19 05:14:46 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-01-19 05:14:46 +0000 |
commit | 14cc2707a0318381b5cc68588efc36f61d617b78 (patch) | |
tree | b15d245ad5ff5b650b72ed1aaeda1ed3bcefac30 /dbus/dbus-connection.h | |
parent | 502fbda2201a4e7e50d687f42af29c82e66299bb (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.h')
-rw-r--r-- | dbus/dbus-connection.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/dbus/dbus-connection.h b/dbus/dbus-connection.h index 31653a50..a973e5d4 100644 --- a/dbus/dbus-connection.h +++ b/dbus/dbus-connection.h @@ -63,18 +63,18 @@ typedef void (* DBusRemoveWatchFunction) (DBusWatch *watch, typedef void (* DBusDisconnectFunction) (DBusConnection *connection, void *data); -DBusConnection* dbus_connection_open (const char *address, - DBusResultCode *result); -void dbus_connection_ref (DBusConnection *connection); -void dbus_connection_unref (DBusConnection *connection); -void dbus_connection_disconnect (DBusConnection *connection); -dbus_bool_t dbus_connection_get_is_connected (DBusConnection *connection); -void dbus_connection_flush (DBusConnection *connection); - -int dbus_connection_get_n_messages (DBusConnection *connection); -DBusMessage* dbus_connection_peek_message (DBusConnection *connection); -DBusMessage* dbus_connection_pop_message (DBusConnection *connection); -dbus_bool_t dbus_connection_dispatch_message (DBusConnection *connection); +DBusConnection* dbus_connection_open (const char *address, + DBusResultCode *result); +void dbus_connection_ref (DBusConnection *connection); +void dbus_connection_unref (DBusConnection *connection); +void dbus_connection_disconnect (DBusConnection *connection); +dbus_bool_t dbus_connection_get_is_connected (DBusConnection *connection); +dbus_bool_t dbus_connection_get_is_authenticated (DBusConnection *connection); +void dbus_connection_flush (DBusConnection *connection); +int dbus_connection_get_n_messages (DBusConnection *connection); +DBusMessage* dbus_connection_peek_message (DBusConnection *connection); +DBusMessage* dbus_connection_pop_message (DBusConnection *connection); +dbus_bool_t dbus_connection_dispatch_message (DBusConnection *connection); dbus_bool_t dbus_connection_send_message (DBusConnection *connection, DBusMessage *message, |