chiark / gitweb /
logind: various clean-ups
[elogind.git] / src / logind.h
index fdc780feb66cbcd9b3445b171b0ca79be564615e..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);
@@ -108,8 +111,12 @@ int manager_spawn_autovt(Manager *m, int vtnr);
 
 void manager_gc(Manager *m);
 
+int manager_get_idle_hint(Manager *m, dual_timestamp *t);
+
 bool x11_display_is_local(const char *display);
 
 extern const DBusObjectPathVTable bus_manager_vtable;
 
+int manager_send_changed(Manager *manager, const char *properties);
+
 #endif