Add helper wrapper for BSSAP TLV parsing

Change-Id: Ib228368901ce90a02a5664f2510593371c7d29cd
This commit is contained in:
Max 2018-11-07 15:24:11 +01:00 committed by Harald Welte
parent af6710f4d4
commit c0d1de36f3
1 changed files with 3 additions and 0 deletions

View File

@ -173,6 +173,9 @@ void gsm0808_prepend_dtap_header(struct msgb *msg, uint8_t link_id);
const struct tlv_definition *gsm0808_att_tlvdef(void);
/*! Parse BSSAP TLV structure using \ref tlv_parse */
#define osmo_bssap_tlv_parse(dec, buf, len) tlv_parse(dec, gsm0808_att_tlvdef(), buf, len, 0, 0)
const char *gsm0808_bssmap_name(uint8_t msg_type);
const char *gsm0808_bssap_name(uint8_t msg_type);
const char *gsm0808_cause_name(uint8_t cause);