diff options
author | David Härdeman <david@hardeman.nu> | 2015-07-08 23:16:06 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-07-08 23:16:06 +0200 |
commit | 018efc8ef96a77529507b8a1614067821be8b90d (patch) | |
tree | c9ddacf9f800a63131d7bfa9a241d379f389701c /rcm-server-main.h | |
parent | ce38f3d01c76327fcbeadccf125f7e7540ed4721 (diff) |
Add simple test client embryo
Diffstat (limited to 'rcm-server-main.h')
-rw-r--r-- | rcm-server-main.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/rcm-server-main.h b/rcm-server-main.h new file mode 100644 index 0000000..188ffab --- /dev/null +++ b/rcm-server-main.h @@ -0,0 +1,24 @@ +#ifndef foorcmserverhfoo +#define foorcmserverhfoo + +struct device { + char *name; + char *path; + char *driver_name; + char *keymap_name; + 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 + |