chiark / gitweb /
Unifiy free() usage
[elogind.git] / src / login / logind-session.h
index 854f30fbd15841ec93a0b74c4eb3816bef15e96a..2024468333722667924b8c549cf9ca347ba42e25 100644 (file)
@@ -26,7 +26,7 @@ typedef enum KillWho KillWho;
 
 #include "list.h"
 #include "logind-user.h"
-#include "login-shared.h"
+#include "login-util.h"
 
 typedef enum SessionState {
         SESSION_OPENING,  /* Session scope is being created */
@@ -89,8 +89,12 @@ struct Session {
         char *service;
         char *desktop;
 
+        /* always NULL */
         char *scope;
+/// UNNEEDED (and unsupported) by elogind
+#if 0
         char *scope_job;
+#endif // 0
 
         Seat *seat;
         unsigned int vtnr;
@@ -117,6 +121,7 @@ struct Session {
 
         char *controller;
         Hashmap *devices;
+        sd_bus_track *track;
 
         LIST_FIELDS(Session, sessions_by_user);
         LIST_FIELDS(Session, sessions_by_seat);