Lines Matching refs:watch
42 /* documented in dbus-watch.c */
62 DBUS_WATCH_ERROR = 1 << 2, /**< As in POLLERR (can't watch for
67 DBUS_WATCH_HANGUP = 1 << 3 /**< As in POLLHUP (can't watch for
72 /* Internal to libdbus, there is also _DBUS_WATCH_NVAL in dbus-watch.h */
86 /** Called when libdbus needs a new watch to be monitored by the main
88 * watch. Set by dbus_connection_set_watch_functions() or
91 typedef dbus_bool_t (* DBusAddWatchFunction) (DBusWatch *watch,
97 typedef void (* DBusWatchToggledFunction) (DBusWatch *watch,
99 /** Called when libdbus no longer needs a watch to be monitored by the
103 typedef void (* DBusRemoveWatchFunction) (DBusWatch *watch,
107 * watch. Set by dbus_connection_set_timeout_functions() or
451 DBUS_DEPRECATED int dbus_watch_get_fd (DBusWatch *watch);
455 int dbus_watch_get_unix_fd (DBusWatch *watch);
457 int dbus_watch_get_socket (DBusWatch *watch);
459 unsigned int dbus_watch_get_flags (DBusWatch *watch);
461 void* dbus_watch_get_data (DBusWatch *watch);
463 void dbus_watch_set_data (DBusWatch *watch,
467 dbus_bool_t dbus_watch_handle (DBusWatch *watch,
470 dbus_bool_t dbus_watch_get_enabled (DBusWatch *watch);