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, |
creslin287 | 52b0e02 | 2010-03-26 12:57:31 -0500 | [diff] [blame^] | 11 | LAPD_DL_UNITDATA_IND, |
Matthew Fredrickson | 124c80e | 2010-02-16 22:01:36 +0100 | [diff] [blame] | 12 | |
| 13 | } lapd_mph_type; |
| 14 | |
| 15 | extern uint8_t *lapd_receive(uint8_t *data, int len, int *ilen, lapd_mph_type *prim, void *cbdata); |
| 16 | |
| 17 | extern void (*lapd_transmit_cb)(uint8_t *data, int len, void *cbdata); |
| 18 | |
| 19 | extern void lapd_transmit(int tei, uint8_t *data, int len, void *cbdata); |
| 20 | |