From faf919f1ebebdfc13f769bb6585e64e7ad4b301b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Jul 2010 04:09:28 +0200 Subject: job: timeout every job independently of the unit --- src/manager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/manager.h') diff --git a/src/manager.h b/src/manager.h index 32fbacc461..c492ffa55f 100644 --- a/src/manager.h +++ b/src/manager.h @@ -57,7 +57,8 @@ enum WatchType { WATCH_SIGNAL, WATCH_NOTIFY, WATCH_FD, - WATCH_TIMER, + WATCH_UNIT_TIMER, + WATCH_JOB_TIMER, WATCH_MOUNT, WATCH_UDEV, WATCH_DBUS_WATCH, @@ -69,6 +70,7 @@ struct Watch { WatchType type; union { union Unit *unit; + struct Job *job; DBusWatch *bus_watch; DBusTimeout *bus_timeout; } data; -- cgit v1.2.3-54-g00ecf