summaryrefslogtreecommitdiff
path: root/src/login/logind.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-31 23:51:16 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-31 23:51:39 +0100
commit9b221b63e5cc62439b32bb487775856a78c6015a (patch)
treeb905fc9aed3558038ab61db464338548b0ec6d5a /src/login/logind.h
parent7e64c73a93cdcc7068280f3e3ba8adbd6c6f8f84 (diff)
logind: if we have to stop a session, kill at least its leader
Diffstat (limited to 'src/login/logind.h')
-rw-r--r--src/login/logind.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/logind.h b/src/login/logind.h
index fd668a2c19..a4b4602675 100644
--- a/src/login/logind.h
+++ b/src/login/logind.h
@@ -116,6 +116,9 @@ void manager_gc(Manager *m, bool drop_not_started);
int manager_get_idle_hint(Manager *m, dual_timestamp *t);
+int manager_get_session_by_cgroup(Manager *m, const char *cgroup, Session **session);
+int manager_get_session_by_pid(Manager *m, pid_t pid, Session **session);
+
extern const DBusObjectPathVTable bus_manager_vtable;
DBusHandlerResult bus_message_filter(DBusConnection *c, DBusMessage *message, void *userdata);