X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogind.h;h=5a487569822f65badc4e3fe10877b36e098f8b78;hp=59ea799d521e82185c44d648fbefb80d871ddaf4;hb=9d76d730ef2f59425c4c75cb55245c3b7777a445;hpb=c36eecdfcb4afa09850002fbb81a95a24ffde599 diff --git a/src/logind.h b/src/logind.h index 59ea799d5..5a4875698 100644 --- a/src/logind.h +++ b/src/logind.h @@ -32,26 +32,6 @@ #include "hashmap.h" #include "cgroup-util.h" -/* TODO: - * - * spawn user systemd - * direct client API - * verify access to SetIdleHint - * add FlushDevices bus call - * hook up ACL tool for udev - * - * 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 - * use sysfs in device hash table, not sysname, when fb driver is fixed - * - * non-local X11 server - * reboot/shutdown halt management - */ - typedef struct Manager Manager; #include "logind-device.h" @@ -132,7 +112,7 @@ int manager_spawn_autovt(Manager *m, int vtnr); 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);