1 /*-*- Mode: C; c-basic-offset: 8 -*-*/
5 #include "load-fragment.h"
7 static void target_done(Unit *u) {
12 /* Nothing here for now */
15 static UnitActiveState target_active_state(Unit *u) {
16 return TARGET(u)->state == TARGET_DEAD ? UNIT_INACTIVE : UNIT_ACTIVE;
19 const UnitVTable target_vtable = {
22 .init = unit_load_fragment_and_dropin,
25 .active_state = target_active_state