]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.h
core: generalize service_arm_timer() for all unit types
[thirdparty/systemd.git] / src / core / unit.h
index f1a80cc8912201ff896b0173b231286a8efc8fd0..808d9c4ceaa7d54631986f61609ac5dc9f3a228e 100644 (file)
@@ -1087,6 +1087,8 @@ int unit_thaw_vtable_common(Unit *u);
 
 Condition *unit_find_failed_condition(Unit *u);
 
+int unit_arm_timer(Unit *u, sd_event_source **source, bool relative, usec_t usec, sd_event_time_handler_t handler);
+
 /* Macros which append UNIT= or USER_UNIT= to the message */
 
 #define log_unit_full_errno_zerook(unit, level, error, ...)             \