path: root/utils/keytable/bpf_load.h
diff options
authorSean Young <sean@mess.org>2019-08-24 21:06:39 +0100
committerSean Young <sean@mess.org>2019-08-27 12:31:23 +0100
commit83bfb96dc35e103854ef9494dd996b85261bb449 (patch)
treeedc12790012ae9cdf6a029904079291e2d728f8b /utils/keytable/bpf_load.h
parent2350a23b92ff94967e20c09687b4c5692e989cf7 (diff)
keytable: move keymap parsing into its own file
We would like to reuse keymap parsing for transmitting IR based on keymap in ir-ctl. This also reduces the size of our huge keytable.c, and keeps knowledge toml localised to the keymap parser. Signed-off-by: Sean Young <sean@mess.org>
Diffstat (limited to 'utils/keytable/bpf_load.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/keytable/bpf_load.h b/utils/keytable/bpf_load.h
index 4ec0a934..47b57b25 100644
--- a/utils/keytable/bpf_load.h
+++ b/utils/keytable/bpf_load.h
@@ -36,8 +36,8 @@ struct bpf_map_data {
* returns zero on success
-int load_bpf_file(const char *path, int lirc_fd, struct toml_table_t *toml, struct raw_entry *raw);
+int load_bpf_file(const char *path, int lirc_fd, struct protocol_param *param, struct raw_entry *raw);
-int bpf_param(const char *name, int *val);
+int bpf_param(struct protocol_param *param, const char *name, int *val);

Privacy Policy