X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Flogind.h;h=fd668a2c19cc7863dd0260afb326e3c731852239;hb=9f84624270432cdff35c4f499fbdb9e0f94fe705;hp=97cfc90ebdf702639855c12e5f66fd96b4578501;hpb=193197e85ccc5622abd9653dcd939712334d3ea3;p=elogind.git diff --git a/src/logind.h b/src/logind.h index 97cfc90eb..fd668a2c1 100644 --- a/src/logind.h +++ b/src/logind.h @@ -32,24 +32,6 @@ #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" @@ -130,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); @@ -140,4 +122,7 @@ DBusHandlerResult bus_message_filter(DBusConnection *c, DBusMessage *message, vo int manager_send_changed(Manager *manager, const char *properties); +/* gperf lookup function */ +const struct ConfigPerfItem* logind_gperf_lookup(const char *key, unsigned length); + #endif