1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2011 Lennart Poettering
10 typedef struct Device Device;
13 #include "logind-seat.h"
14 #include "logind-session-device.h"
23 dual_timestamp timestamp;
25 LIST_FIELDS(struct Device, devices);
26 LIST_HEAD(SessionDevice, session_devices);
29 Device* device_new(Manager *m, const char *sysfs, bool master);
30 void device_free(Device *d);
31 void device_attach(Device *d, Seat *s);