chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: parse RD_TIMESTAMP passed from initrd
[elogind.git]
/
src
/
manager.h
diff --git
a/src/manager.h
b/src/manager.h
index a573debe034df8c74f01cb1987f6bb7b313967cd..ab7f26368c2e8f031700831cb03bc3bd4b6f7e1b 100644
(file)
--- a/
src/manager.h
+++ b/
src/manager.h
@@
-64,6
+64,7
@@
enum WatchType {
WATCH_UNIT_TIMER,
WATCH_JOB_TIMER,
WATCH_MOUNT,
WATCH_UNIT_TIMER,
WATCH_JOB_TIMER,
WATCH_MOUNT,
+ WATCH_SWAP,
WATCH_UDEV,
WATCH_DBUS_WATCH,
WATCH_DBUS_TIMEOUT
WATCH_UDEV,
WATCH_DBUS_WATCH,
WATCH_DBUS_TIMEOUT
@@
-142,6
+143,7
@@
struct Manager {
char **environment;
char **environment;
+ dual_timestamp initrd_timestamp;
dual_timestamp startup_timestamp;
dual_timestamp finish_timestamp;
dual_timestamp startup_timestamp;
dual_timestamp finish_timestamp;
@@
-161,6
+163,7
@@
struct Manager {
FILE *proc_swaps;
Hashmap *swaps_by_proc_swaps;
bool request_reload;
FILE *proc_swaps;
Hashmap *swaps_by_proc_swaps;
bool request_reload;
+ Watch swap_watch;
/* Data specific to the D-Bus subsystem */
DBusConnection *api_bus, *system_bus;
/* Data specific to the D-Bus subsystem */
DBusConnection *api_bus, *system_bus;