diff options
author | David Härdeman <david@hardeman.nu> | 2017-04-18 21:56:45 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2017-04-18 21:56:45 +0200 |
commit | ae0b71dca66d66d105fa8ba491c1c4559c5813be (patch) | |
tree | 40f4401ac6dd47f449b9d907359a0725bda6bb5b /rcm-server-lirc.h | |
parent | d139eaa3759e23706f51eb7c1ef058cade0f86fc (diff) |
Factor out lirc code to a separate file
Diffstat (limited to 'rcm-server-lirc.h')
-rw-r--r-- | rcm-server-lirc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rcm-server-lirc.h b/rcm-server-lirc.h new file mode 100644 index 0000000..5edc5fc --- /dev/null +++ b/rcm-server-lirc.h @@ -0,0 +1,11 @@ +#ifndef foorcmserverlirchfoo +#define foorcmserverlirchfoo + +void lirc_write(int fd, const uint32_t *v, unsigned count); + +int lirc_read(sd_event_source *s, int fd, uint32_t revents, void *userdata); + +int lirc_setup(struct device *device, const char *path); + +#endif + |