Functions | |
dbus_bool_t | _dbus_server_init_base (DBusServer *server, const DBusServerVTable *vtable, const DBusString *address) |
Initializes the members of the DBusServer base class. More... | |
void | _dbus_server_finalize_base (DBusServer *server) |
Finalizes the members of the DBusServer base class. More... | |
dbus_bool_t | _dbus_server_add_watch (DBusServer *server, DBusWatch *watch) |
Adds a watch for this server, chaining out to application-provided watch handlers. More... | |
void | _dbus_server_remove_watch (DBusServer *server, DBusWatch *watch) |
Removes a watch previously added with _dbus_server_remove_watch(). More... | |
void | _dbus_server_toggle_watch (DBusServer *server, DBusWatch *watch, dbus_bool_t enabled) |
Toggles a watch and notifies app via server's DBusWatchToggledFunction if available. More... | |
dbus_bool_t | _dbus_server_add_timeout (DBusServer *server, DBusTimeout *timeout) |
Adds a timeout for this server, chaining out to application-provided timeout handlers. More... | |
void | _dbus_server_remove_timeout (DBusServer *server, DBusTimeout *timeout) |
Removes a timeout previously added with _dbus_server_add_timeout(). More... | |
void | _dbus_server_toggle_timeout (DBusServer *server, DBusTimeout *timeout, dbus_bool_t enabled) |
Toggles a timeout and notifies app via server's DBusTimeoutToggledFunction if available. More... |
|
Adds a timeout for this server, chaining out to application-provided timeout handlers. The timeout should be repeatedly handled with dbus_timeout_handle() at its given interval until it is removed.
Definition at line 193 of file dbus-server.c. References DBusServer::timeouts. |
|
Adds a watch for this server, chaining out to application-provided watch handlers.
Definition at line 145 of file dbus-server.c. References DBusServer::watches. |
|
Finalizes the members of the DBusServer base class. Chained up to by subclass finalizers.
Definition at line 119 of file dbus-server.c. References DBusServer::address, DBusServer::auth_mechanisms, DBusServer::disconnected, DBusServer::slot_list, DBusServer::timeouts, and DBusServer::watches. |
|
Initializes the members of the DBusServer base class. Chained up to by subclass constructors.
Definition at line 64 of file dbus-server.c. References DBusServer::address, DBusServer::refcount, DBusServer::slot_list, DBusServer::timeouts, DBusServer::vtable, and DBusServer::watches. |
|
Removes a timeout previously added with _dbus_server_add_timeout().
Definition at line 206 of file dbus-server.c. References DBusServer::timeouts. |
|
Removes a watch previously added with _dbus_server_remove_watch().
Definition at line 158 of file dbus-server.c. References DBusServer::watches. |
|
Toggles a timeout and notifies app via server's DBusTimeoutToggledFunction if available. It's an error to call this function on a timeout that was not previously added.
Definition at line 222 of file dbus-server.c. References DBusServer::timeouts. |
|
Toggles a watch and notifies app via server's DBusWatchToggledFunction if available. It's an error to call this function on a watch that was not previously added.
Definition at line 174 of file dbus-server.c. References DBusServer::watches. |