chiark / gitweb /
units: split fsck.target from sysinit.target for suse compat
[elogind.git] / src / unit.h
index 1295d9ff527a16c4f028993b6021f33e2c6c16af..34e86d1086841cfede151fa9e3fba35ad9ec2ca8 100644 (file)
@@ -310,6 +310,9 @@ struct UnitVTable {
         /* Called for each message received on the bus */
         DBusHandlerResult (*bus_message_handler)(Unit *u, DBusConnection *c, DBusMessage *message);
 
+        /* Return the unit this unit is following */
+        Unit *(*following)(Unit *u);
+
         /* This is called for each unit type and should be used to
          * enumerate existing devices and load them. However,
          * everything that is loaded here should still stay in
@@ -472,6 +475,8 @@ bool unit_need_daemon_reload(Unit *u);
 
 void unit_reset_maintenance(Unit *u);
 
+Unit *unit_following(Unit *u);
+
 const char *unit_type_to_string(UnitType i);
 UnitType unit_type_from_string(const char *s);