summaryrefslogtreecommitdiffstats
path: root/include/openbsc/bsc_rll.h
blob: b2898d1b0aebf67142e12d1b5c70f398c32d0559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _BSC_RLL_H
#define _BSC_RLL_H

#include <openbsc/gsm_data.h>

enum bsc_rllr_ind {
	BSC_RLLR_IND_EST_CONF,
	BSC_RLLR_IND_REL_IND,
	BSC_RLLR_IND_ERR_IND,
	BSC_RLLR_IND_TIMEOUT,
};

int rll_establish(struct gsm_lchan *lchan, u_int8_t link_id,
		  void (*cb)(struct gsm_lchan *, u_int8_t, void *,
			     enum bsc_rllr_ind),
		  void *data);
void rll_indication(struct gsm_lchan *lchan, u_int8_t link_id, u_int8_t type);

#endif /* _BSC_RLL_H */