summaryrefslogtreecommitdiffstats
path: root/include/dect/keypad.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dect/keypad.h')
-rw-r--r--include/dect/keypad.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dect/keypad.h b/include/dect/keypad.h
new file mode 100644
index 0000000..0a38f0a
--- /dev/null
+++ b/include/dect/keypad.h
@@ -0,0 +1,15 @@
+#ifndef _LIBDECT_DECT_KEYPAD
+#define _LIBDECT_DECT_KEYPAD
+
+extern struct dect_keypad_buffer *
+dect_keypad_buffer_init(const struct dect_handle *dh, uint8_t timeout,
+ void (*complete)(struct dect_handle *, void *data,
+ struct dect_ie_keypad *keypad),
+ void *priv);
+
+extern void dect_keypad_append(struct dect_handle *dh,
+ struct dect_keypad_buffer *buf,
+ const struct dect_ie_keypad *keypad,
+ bool sending_complete);
+
+#endif /* _LIBDECT_DECT_KEYPAD */