path: root/include
diff options
authorDaniel Willmann <dwillmann@sysmocom.de>2014-03-26 13:45:17 +0100
committerDaniel Willmann <daniel@totalueberwachung.de>2014-03-26 13:52:27 +0100
commit55405fb40b080b303dcbb380ecb2d738dc8f6206 (patch)
tree8568b877cbbf0bada9a8d55d1e41b44c8dabe86b /include
parente4c50d5a43f129aa4bdfaf62a7238c4db671974b (diff)
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.
Diffstat (limited to 'include')
1 files changed, 2 insertions, 0 deletions
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);