X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-device.h;h=927068e00abe9edd81b157f2f63a64996a57bea1;hb=f3f6ae7c983865ea37e8ddfbd676586e55280f1e;hp=315f0e66b0f328b793cbad28b07f0833b045f3fe;hpb=718d006a63f773c42106494e823250c48942cf08;p=elogind.git diff --git a/src/login/logind-device.h b/src/login/logind-device.h index 315f0e66b..927068e00 100644 --- a/src/login/logind-device.h +++ b/src/login/logind-device.h @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - #pragma once /*** @@ -24,9 +22,8 @@ typedef struct Device Device; #include "list.h" -#include "util.h" -#include "logind.h" #include "logind-seat.h" +#include "logind-session-device.h" struct Device { Manager *manager; @@ -38,9 +35,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);