diff options
author | David Härdeman <david@hardeman.nu> | 2015-06-29 23:39:30 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-06-29 23:39:30 +0200 |
commit | 896a0dcc4a6cace45257b938942fd02610bb585f (patch) | |
tree | f4ad7404f2baa5c0c66fb5bbc9d8f9df449d11ca /rcm-server.h | |
parent | cf2f0b97355586d75b740d6a0d1f576df436e783 (diff) |
Split keymap handling to separate file
Diffstat (limited to 'rcm-server.h')
-rw-r--r-- | rcm-server.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/rcm-server.h b/rcm-server.h new file mode 100644 index 0000000..188ffab --- /dev/null +++ b/rcm-server.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 + |