diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-06-11 20:27:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-11 20:28:18 +0200 |
commit | 520ebc17d9351ccd1a053eeb11c769649e4d1fc1 (patch) | |
tree | 1523071684a8474c3e4e2a4fe41a602629f90822 /include/osmocom/gsm | |
parent | 5a09f75c1e7f66869da4a17c4cc417d367687b72 (diff) |
gsup: Add osmo_gsup_get_err_msg_type() function
This function can be used to resolve the error message type for
a given message type. Can be used by generic error handlers that
work for any incoming message type.
Change-Id: Ic637bec53dd7fe3ec83da99b49b4eae34d5602b2
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r-- | include/osmocom/gsm/gsup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsup.h b/include/osmocom/gsm/gsup.h index dd274934..e246639a 100644 --- a/include/osmocom/gsm/gsup.h +++ b/include/osmocom/gsm/gsup.h @@ -213,5 +213,6 @@ struct osmo_gsup_message { int osmo_gsup_decode(const uint8_t *data, size_t data_len, struct osmo_gsup_message *gsup_msg); int osmo_gsup_encode(struct msgb *msg, const struct osmo_gsup_message *gsup_msg); +int osmo_gsup_get_err_msg_type(enum osmo_gsup_message_type type_in); /*! @} */ |