X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind-device.h;h=c273d2bfa05e1cb2a24cde634e1b717666613427;hp=315f0e66b0f328b793cbad28b07f0833b045f3fe;hb=5b04fe60004e7c5cd5a43648ede3e6a965e70b8c;hpb=718d006a63f773c42106494e823250c48942cf08 diff --git a/src/login/logind-device.h b/src/login/logind-device.h index 315f0e66b..c273d2bfa 100644 --- a/src/login/logind-device.h +++ b/src/login/logind-device.h @@ -27,6 +27,7 @@ typedef struct Device Device; #include "util.h" #include "logind.h" #include "logind-seat.h" +#include "logind-session-device.h" struct Device { Manager *manager; @@ -38,9 +39,9 @@ struct Device { dual_timestamp timestamp; LIST_FIELDS(struct Device, devices); + LIST_HEAD(SessionDevice, session_devices); }; Device* device_new(Manager *m, const char *sysfs, bool master); void device_free(Device *d); void device_attach(Device *d, Seat *s); -void device_detach(Device *d);