summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-26 05:53:30 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-26 05:53:30 +0100
commitcd2086fe6573df923dc53ef33998c9fff8c2bda5 (patch)
tree35d5f1777dc4752dbe2b8d1ca5d0d16363c6d368 /src/core/unit.h
parentf2956e80c99cd41ca6bbbe41b09e01b234ca8778 (diff)
core: unify kill code of mount, service, socket, swap units
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 297b35d8f5..c90210302d 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -557,6 +557,8 @@ ExecContext *unit_get_exec_context(Unit *u);
int unit_write_drop_in(Unit *u, bool runtime, const char *name, const char *data);
int unit_remove_drop_in(Unit *u, bool runtime, const char *name);
+int unit_kill_context(Unit *u, KillContext *c, bool sigkill, pid_t main_pid, pid_t control_pid, bool main_pid_alien);
+
const char *unit_active_state_to_string(UnitActiveState i);
UnitActiveState unit_active_state_from_string(const char *s);