From 55405fb40b080b303dcbb380ecb2d738dc8f6206 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 26 Mar 2014 13:45:17 +0100 Subject: lapdm: Make lapdm_datalink_for_sapi public This API allows you to get the lapdm_datalink for a SAPI. It's needed in the lapdm_test, so make it public. --- include/osmocom/gsm/lapdm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmocom/gsm') diff --git a/include/osmocom/gsm/lapdm.h b/include/osmocom/gsm/lapdm.h index a6e4ad72..93934068 100644 --- a/include/osmocom/gsm/lapdm.h +++ b/include/osmocom/gsm/lapdm.h @@ -81,6 +81,8 @@ struct lapdm_channel { const char *get_rsl_name(int value); extern const char *lapdm_state_names[]; +struct lapdm_datalink *lapdm_datalink_for_sapi(struct lapdm_entity *le, uint8_t sapi); + /* initialize a LAPDm entity */ void lapdm_entity_init(struct lapdm_entity *le, enum lapdm_mode mode, int t200); void lapdm_channel_init(struct lapdm_channel *lc, enum lapdm_mode mode); -- cgit v1.2.3