]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/target.h
core: rework how we track service and scope PIDs
[thirdparty/systemd.git] / src / core / target.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
c2f1db8f 2#pragma once
c22cbe26 3
57b7a260
FS
4#include "unit.h"
5
a7334b09
LP
6/***
7 This file is part of systemd.
8
9 Copyright 2010 Lennart Poettering
a7334b09
LP
10***/
11
c22cbe26
LP
12typedef struct Target Target;
13
c22cbe26 14struct Target {
ac155bb8 15 Unit meta;
c22cbe26 16
a16e1123 17 TargetState state, deserialized_state;
c22cbe26
LP
18};
19
87f0e418 20extern const UnitVTable target_vtable;
57b7a260
FS
21
22DEFINE_CAST(TARGET, Target);