projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added NameList method handling, small improvemnets and cleanups
[platform/upstream/dbus.git]
/
dbus
/
dbus-watch.h
diff --git
a/dbus/dbus-watch.h
b/dbus/dbus-watch.h
index
fa953ec
..
c583214
100644
(file)
--- a/
dbus/dbus-watch.h
+++ b/
dbus/dbus-watch.h
@@
-37,6
+37,8
@@
DBUS_BEGIN_DECLS
typedef struct DBusWatchList DBusWatchList;
typedef struct DBusWatchList DBusWatchList;
+#define _DBUS_WATCH_NVAL (1<<4)
+
/** function to run when the watch is handled */
typedef dbus_bool_t (* DBusWatchHandler) (DBusWatch *watch,
unsigned int flags,
/** function to run when the watch is handled */
typedef dbus_bool_t (* DBusWatchHandler) (DBusWatch *watch,
unsigned int flags,
@@
-76,6
+78,10
@@
void _dbus_watch_list_toggle_watch (DBusWatchList *watch_li
dbus_bool_t enabled);
dbus_bool_t _dbus_watch_get_enabled (DBusWatch *watch);
dbus_bool_t enabled);
dbus_bool_t _dbus_watch_get_enabled (DBusWatch *watch);
+dbus_bool_t _dbus_watch_get_oom_last_time (DBusWatch *watch);
+void _dbus_watch_set_oom_last_time (DBusWatch *watch,
+ dbus_bool_t oom);
+
/** @} */
DBUS_END_DECLS
/** @} */
DBUS_END_DECLS