summaryrefslogtreecommitdiff
path: root/src/logind.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-29 00:06:04 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-29 00:06:04 +0200
commit932e3ee76ea0a9d28902f694ad1873e37532da35 (patch)
tree5e6017ffe793879918dd60bbb7de860fd72054e7 /src/logind.h
parentfde78a3ac01db57a384e5936bf2c033dcdeae494 (diff)
logind: use named pipes instead of fifos to keep track of sessions so that we can reconnect later
Diffstat (limited to 'src/logind.h')
-rw-r--r--src/logind.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/logind.h b/src/logind.h
index 309541415d..9b9f38bb80 100644
--- a/src/logind.h
+++ b/src/logind.h
@@ -37,15 +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
- * make sure IMPORT{parent}="ID_SEAT" works between usb hub and sound card
*
* non-local X11 server
* reboot/shutdown halt management
@@ -94,7 +93,7 @@ struct Manager {
unsigned long session_counter;
Hashmap *cgroups;
- Hashmap *pipe_fds;
+ Hashmap *fifo_fds;
};
enum {
@@ -102,7 +101,7 @@ enum {
FD_VCSA_UDEV,
FD_CONSOLE,
FD_BUS,
- FD_PIPE_BASE
+ FD_FIFO_BASE
};
Manager *manager_new(void);