1 /* SPDX-License-Identifier: LGPL-2.1+ */
4 typedef struct Device Device;
7 #include "logind-seat.h"
8 #include "logind-session-device.h"
17 dual_timestamp timestamp;
19 LIST_FIELDS(struct Device, devices);
20 LIST_HEAD(SessionDevice, session_devices);
23 Device* device_new(Manager *m, const char *sysfs, bool master);
24 void device_free(Device *d);
25 void device_attach(Device *d, Seat *s);