diff options
author | Harald Welte <laforge@osmocom.org> | 2021-02-08 13:17:23 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-02-08 18:11:12 +0100 |
commit | bf85d6f433e5d1d24a3cb7f212f6bfb65988d609 (patch) | |
tree | da1cff2f386c5d2ce50b2f1a6351f8551c70cc76 /include | |
parent | d2dc5ed987a218254f8bd4aced8a1e1e613bedd7 (diff) |
xua: introduce xua_msg_get_u32p() helper
Change-Id: Id7780074b82bc668ae148456750b1a01799decd1
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/sigtran/xua_msg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/xua_msg.h b/include/osmocom/sigtran/xua_msg.h index 329ba96..11bce6f 100644 --- a/include/osmocom/sigtran/xua_msg.h +++ b/include/osmocom/sigtran/xua_msg.h @@ -91,6 +91,7 @@ int msgb_t16l16vp_put_u32(struct msgb *msg, uint16_t tag, uint32_t val); int xua_msg_add_u32(struct xua_msg *xua, uint16_t iei, uint32_t val); uint32_t xua_msg_part_get_u32(const struct xua_msg_part *part); uint32_t xua_msg_get_u32(const struct xua_msg *xua, uint16_t iei); +const uint32_t *xua_msg_get_u32p(const struct xua_msg *xua, uint16_t iei, uint32_t *out); const char *xua_msg_part_get_str(const struct xua_msg_part *part); const char *xua_msg_get_str(const struct xua_msg *xua, uint16_t iei); void xua_part_add_gt(struct msgb *msg, const struct osmo_sccp_gt *gt); |