Matthew Fredrickson | 124c80e | 2010-02-16 22:01:36 +0100 | [diff] [blame^] | 1 | |
2 | #include <stdint.h> | ||||
3 | |||||
4 | typedef enum { | ||||
5 | LAPD_MPH_NONE = 0, | ||||
6 | |||||
7 | LAPD_MPH_ACTIVATE_IND, | ||||
8 | LAPD_MPH_DEACTIVATE_IND, | ||||
9 | |||||
10 | LAPD_DL_DATA_IND, | ||||
11 | |||||
12 | } lapd_mph_type; | ||||
13 | |||||
14 | extern uint8_t *lapd_receive(uint8_t *data, int len, int *ilen, lapd_mph_type *prim, void *cbdata); | ||||
15 | |||||
16 | extern void (*lapd_transmit_cb)(uint8_t *data, int len, void *cbdata); | ||||
17 | |||||
18 | extern void lapd_transmit(int tei, uint8_t *data, int len, void *cbdata); | ||||
19 |