summaryrefslogtreecommitdiffstats
path: root/include/dect/keypad.h
blob: 0a38f0a7e3721a3ab482d51fdf98112fdb32f00b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */