]>
git.ipfire.org Git - thirdparty/systemd.git/blob - target.c
1 /*-*- Mode: C; c-basic-offset: 8 -*-*/
5 #include "load-fragment.h"
7 static void target_done(Name
*n
) {
12 /* Nothing here for now */
15 static NameActiveState
target_active_state(Name
*n
) {
16 return TARGET(n
)->state
== TARGET_DEAD
? NAME_INACTIVE
: NAME_ACTIVE
;
19 const NameVTable target_vtable
= {
22 .init
= name_load_fragment
,
25 .active_state
= target_active_state