summaryrefslogtreecommitdiff
path: root/rcm-server-lirc.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2017-04-18 21:56:45 +0200
committerDavid Härdeman <david@hardeman.nu>2017-04-18 21:56:45 +0200
commitae0b71dca66d66d105fa8ba491c1c4559c5813be (patch)
tree40f4401ac6dd47f449b9d907359a0725bda6bb5b /rcm-server-lirc.h
parentd139eaa3759e23706f51eb7c1ef058cade0f86fc (diff)
Factor out lirc code to a separate file
Diffstat (limited to 'rcm-server-lirc.h')
-rw-r--r--rcm-server-lirc.h11
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
+