From ae0b71dca66d66d105fa8ba491c1c4559c5813be Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 18 Apr 2017 21:56:45 +0200 Subject: Factor out lirc code to a separate file --- rcm-server-lirc.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rcm-server-lirc.h (limited to 'rcm-server-lirc.h') 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 + -- cgit v1.2.3