diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-18 04:18:57 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-18 04:18:57 +0000 |
commit | 3df260c07102745c5606c313af862558f105f83e (patch) | |
tree | b0a9d23fc820a3bc61da1cd7e63fc810423a2210 /dbus/dbus-server.c | |
parent | 88cd5da3c0ec86fed29942b062c2f7bf0f8fda44 (diff) |
2003-04-18 Havoc Pennington <hp@pobox.com>
* glib/dbus-gmain.c: adapt to watch changes
* bus/bus.c, bus/activation.c, etc.: adjust to watch changes
* dbus/dbus-server.h: remove dbus_server_handle_watch
* dbus/dbus-connection.h: remove dbus_connection_handle_watch
* dbus/dbus-watch.c (dbus_watch_handle): change DBusWatch to work
like DBusTimeout, so we don't need dbus_connection_handle_watch
etc.
Diffstat (limited to 'dbus/dbus-server.c')
-rw-r--r-- | dbus/dbus-server.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dbus/dbus-server.c b/dbus/dbus-server.c index d739f28e..dd33804c 100644 --- a/dbus/dbus-server.c +++ b/dbus/dbus-server.c @@ -610,34 +610,6 @@ dbus_server_set_timeout_functions (DBusServer *server, } /** - * Called to notify the server when a previously-added watch - * is ready for reading or writing, or has an exception such - * as a hangup. - * - * If this function returns #FALSE, then the file descriptor may still - * be ready for reading or writing, but more memory is needed in order - * to do the reading or writing. If you ignore the #FALSE return, your - * application may spin in a busy loop on the file descriptor until - * memory becomes available, but nothing more catastrophic should - * happen. - * - * @param server the server. - * @param watch the watch. - * @param condition the current condition of the file descriptors being watched. - */ -dbus_bool_t -dbus_server_handle_watch (DBusServer *server, - DBusWatch *watch, - unsigned int condition) -{ - _dbus_assert (server->vtable->handle_watch != NULL); - - _dbus_watch_sanitize_condition (watch, &condition); - - return (* server->vtable->handle_watch) (server, watch, condition); -} - -/** * Sets the authentication mechanisms that this server offers * to clients, as a list of SASL mechanisms. This function * only affects connections created *after* it is called. |