1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright 2011 Lennart Poettering
8 typedef struct Device Device;
11 #include "logind-seat.h"
12 #include "logind-session-device.h"
21 dual_timestamp timestamp;
23 LIST_FIELDS(struct Device, devices);
24 LIST_HEAD(SessionDevice, session_devices);
27 Device* device_new(Manager *m, const char *sysfs, bool master);
28 void device_free(Device *d);
29 void device_attach(Device *d, Seat *s);