summaryrefslogtreecommitdiffstats
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-26 16:39:35 +0200
committerLennart Poettering <lennart@poettering.net>2017-11-10 19:45:29 +0100
commitc999cf385aee08295dc204d98585cb4001d08ade (patch)
treeafda0a46ae269775c1b1b50b5c42dc9de2e42b21 /src/core/unit.h
parentman: extend documentation on the unit name escaping logic (diff)
downloadsystemd-c999cf385aee08295dc204d98585cb4001d08ade.tar.xz
systemd-c999cf385aee08295dc204d98585cb4001d08ade.zip
core: add internal API to remove dependencies again, based on dependency mask
let's make use of the dependency mask, and add internal API to remove dependencies ago, based on bits in the dependency mask.
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 5b9dce3d0b..5e5e791bc4 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -740,6 +740,8 @@ void unit_set_exec_params(Unit *s, ExecParameters *p);
int unit_fork_helper_process(Unit *u, pid_t *ret);
+void unit_remove_dependencies(Unit *u, UnitDependencyMask mask);
+
/* Macros which append UNIT= or USER_UNIT= to the message */
#define log_unit_full(unit, level, error, ...) \