#include "hashmap.h"
#include "cgroup-util.h"
-/* TODO:
- *
- * spawn user systemd
- * direct client API
- * add configuration file
- * verify access to SetIdleHint
- *
- * udev:
- * drop redundant udev_device_get_is_initialized() use as soon as libudev is fixed
- * properly escape/remove : and . from seat names in udev rules
- * use device_has_tag() as soon as it is available
- * trigger based on libudev if available
- * enumerate recursively with libudev when triggering
- *
- * non-local X11 server
- * reboot/shutdown halt management
- */
-
typedef struct Manager Manager;
#include "logind-device.h"
Seat *vtconsole;
char *cgroup_path;
- char **controllers;
+ char **controllers, **reset_controllers;
char **kill_only_users, **kill_exclude_users;
void manager_cgroup_notify_empty(Manager *m, const char *cgroup);
-void manager_gc(Manager *m);
+void manager_gc(Manager *m, bool drop_not_started);
int manager_get_idle_hint(Manager *m, dual_timestamp *t);