chiark / gitweb /
logind: add support for /run/nologin and /run/systemd/shutdown/scheduled
[elogind.git] / src / login / logind-session.h
index 0505f7f0bdfd62bc32d018c9398816616565b34c..14117bd888b6c0433f0f304c2a065becc1ad4042 100644 (file)
@@ -89,8 +89,8 @@ struct Session {
         char *service;
         char *desktop;
 
+        /* Always NULL.  */
         char *scope;
-        char *scope_job;
 
         Seat *seat;
         unsigned int vtnr;
@@ -137,7 +137,7 @@ int session_create_fifo(Session *s);
 int session_start(Session *s);
 int session_stop(Session *s, bool force);
 int session_finalize(Session *s);
-void session_release(Session *s);
+int session_release(Session *s);
 int session_save(Session *s);
 int session_load(Session *s);
 int session_kill(Session *s, KillWho who, int signo);