#ifndef foorcmserverhfoo #define foorcmserverhfoo struct device { char *name; char *path; char *driver_name; char *keymap_name; int evdev_fd; sd_event_source *evdev_ev; struct libevdev *evdev_dev; struct manager *mgr; struct list_head list; struct list_head keymaps; }; struct manager { sd_bus *bus; sd_event *event; struct udev *udev; struct udev_monitor *udev_mon; sd_event_source *udev_ev; struct list_head devices; unsigned num_devices; }; #endif