chiark / gitweb /
logind: various clean-ups
[elogind.git] / src / logind.h
index e18a357c9a633091a61c7aacd01f08562b0ba7c0..22eab55625b6ee9ac3d439a113ae8fa4a0e28a9d 100644 (file)
 /* TODO:
  *
  * recreate VTs when disallocated
- * PAM rewrite
  * spawn user systemd
- * dbus API
  * direct client API
+ * subscribe to cgroup changes, fd HUP
+ * D-Bus method: AttachDevice(seat, device);
+ * D-Bus method: PermitLinger(user, bool b);
  *
  * non-local X11 server
  * reboot/shutdown halt management
@@ -76,11 +77,13 @@ struct Manager {
         Seat *vtconsole;
 
         char *cgroup_path;
-        char **controllers, **reset_controllers;
+        char **controllers;
 
         char **kill_only_users, **kill_exclude_users;
 
         bool kill_user_processes;
+
+        unsigned long session_counter;
 };
 
 Manager *manager_new(void);
@@ -114,4 +117,6 @@ bool x11_display_is_local(const char *display);
 
 extern const DBusObjectPathVTable bus_manager_vtable;
 
+int manager_send_changed(Manager *manager, const char *properties);
+
 #endif