Home | History | Annotate | Download | only in dbus

Lines Matching full:watch

30 #include "dbus-watch.h"
127 * all the details of dispatch and watch/timeout monitoring.
154 * handle the details here for you by setting up watch functions.
629 DBusWatch *watch);
632 DBusWatch *watch);
635 DBusWatch *watch,
640 DBusWatch *watch,
663 retval = (* add_function) (watches, watch);
667 (* remove_function) (watches, watch);
672 (* toggle_function) (watches, watch, enabled);
687 * Adds a watch using the connection's DBusAddWatchFunction if
688 * available. Otherwise records the watch to be added when said
689 * function is available. Also re-adds the watch if the
694 * @param watch the watch to add.
699 DBusWatch *watch)
701 return protected_change_watch (connection, watch,
707 * Removes a watch using the connection's DBusRemoveWatchFunction
708 * if available. It's an error to call this function on a watch
713 * @param watch the watch to remove.
717 DBusWatch *watch)
719 protected_change_watch (connection, watch,
726 * Toggles a watch and notifies app via connection's
728 * function on a watch that was not previously added.
732 * @param watch the watch to toggle.
737 DBusWatch *watch,
740 _dbus_assert (watch != NULL);
742 protected_change_watch (connection, watch,
1395 * @param watch the watch.
1401 _dbus_connection_handle_watch (DBusWatch *watch,
1417 watch, condition);
4465 * Sets the watch functions for the connection. These functions are
4471 * elaborate GSource. Note that when a watch is added, it may
4475 * watch has been enabled or disabled. Call dbus_watch_get_enabled()
4476 * to check this. A disabled watch should have no effect, and enabled
4477 * watch should be added to the main loop. This feature is used
4478 * instead of simply adding/removing the watch because
4483 * The DBusWatch can be queried for the file descriptor to watch using
4484 * dbus_watch_get_fd(), and for the events to watch for using
4488 * all watches implicitly include a watch for hangups, errors, and
4497 * that watch yet.
4512 * of setting the watch functions.