chiark / gitweb /
Set up cgroups when logind starts
[elogind.git] / src / login / logind-user.h
index 2cb57e16751a0246cbd407df04af819d59d83bdb..607fe1bf7b42b6a71c8fff1d912f91ee876bca01 100644 (file)
@@ -24,9 +24,7 @@
 typedef struct User User;
 
 #include "list.h"
-#include "util.h"
 #include "logind.h"
-#include "logind-session.h"
 
 typedef enum UserState {
         USER_OFFLINE,    /* Not logged in at all */
@@ -49,12 +47,12 @@ struct User {
         char *state_file;
         char *runtime_path;
 
+        /* These are always NULL, and here just for logind-user-dbus.c
+           to easily provide a NULL value for the user's service and
+           slice properties. */
         char *service;
         char *slice;
 
-        char *service_job;
-        char *slice_job;
-
         Session *display;
 
         dual_timestamp timestamp;