]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.h
core: rework job_get_timeout() to use usec_t and handle USEC_INFINITY time events...
[thirdparty/systemd.git] / src / core / unit.h
index f86a0f687b5a1e747675b4534a2ad786fce74f5d..8712e0313339239127f76d5f5d9746156e3643cd 100644 (file)
@@ -379,7 +379,8 @@ struct UnitVTable {
         /* Called whenever CLOCK_REALTIME made a jump */
         void (*time_change)(Unit *u);
 
-        int (*get_timeout)(Unit *u, uint64_t *timeout);
+        /* Returns the next timeout of a unit */
+        int (*get_timeout)(Unit *u, usec_t *timeout);
 
         /* This is called for each unit type and should be used to
          * enumerate existing devices and load them. However,