X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogind.h;h=97cfc90ebdf702639855c12e5f66fd96b4578501;hb=193197e85ccc5622abd9653dcd939712334d3ea3;hp=8702d1aed27247244ddd054e69377d53063dcc8b;hpb=47a2669062882d1b4ed6ae3c7b8926e09f2a978e;p=elogind.git diff --git a/src/logind.h b/src/logind.h index 8702d1aed..97cfc90eb 100644 --- a/src/logind.h +++ b/src/logind.h @@ -37,8 +37,14 @@ * spawn user systemd * direct client API * add configuration file - * D-Bus method: AttachDevices(seat, devices[]); - * use named pipes to detect when a session dies + * 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 @@ -78,7 +84,7 @@ struct Manager { Seat *vtconsole; char *cgroup_path; - char **controllers; + char **controllers, **reset_controllers; char **kill_only_users, **kill_exclude_users; @@ -87,7 +93,7 @@ struct Manager { unsigned long session_counter; Hashmap *cgroups; - Hashmap *pipe_fds; + Hashmap *fifo_fds; }; enum { @@ -95,7 +101,7 @@ enum { FD_VCSA_UDEV, FD_CONSOLE, FD_BUS, - FD_PIPE_BASE + FD_FIFO_BASE }; Manager *manager_new(void);