X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Funit.h;h=8b242722454a14bf63bc5c00f56358af100c6a85;hb=0c2a5d721ece665618614d05049975ad84a9ee4a;hp=081ab18f10289fd2b74dc2e9dc97e8ed959ddfcb;hpb=db2cb23b5b179707000d28a11efb3d888d06ee80;p=elogind.git diff --git a/src/core/unit.h b/src/core/unit.h index 081ab18f1..8b2427224 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -129,8 +129,10 @@ struct Unit { /* Conditions to check */ LIST_HEAD(Condition, conditions); + LIST_HEAD(Condition, asserts); dual_timestamp condition_timestamp; + dual_timestamp assert_timestamp; dual_timestamp inactive_exit_timestamp; dual_timestamp active_enter_timestamp; @@ -212,6 +214,7 @@ struct Unit { /* Did the last condition check succeed? */ bool condition_result; + bool assert_result; /* Is this a transient unit? */ bool transient;