From 0dd089f17dfa6ea2a092cd76d9e65ac96b923635 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 12 Feb 2017 19:46:02 +0100 Subject: Move xua_msg_add_sccp_addr() to xua_msg.h and export it Change-Id: I07fa00dd71d8ecdf1542734598fab8ecad5a7b53 --- include/osmocom/sigtran/xua_msg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/osmocom/sigtran/xua_msg.h b/include/osmocom/sigtran/xua_msg.h index 4c8fe83..5dc3894 100644 --- a/include/osmocom/sigtran/xua_msg.h +++ b/include/osmocom/sigtran/xua_msg.h @@ -24,6 +24,7 @@ #define XUA_HDR(class, type) ((struct xua_common_hdr) { .spare = 0, .msg_class = (class), .msg_type = (type) }) struct msgb; +struct osmo_sccp_addr; struct xua_msg { struct xua_common_hdr hdr; @@ -60,3 +61,4 @@ int msgb_t16l16vp_put(struct msgb *msg, uint16_t tag, uint16_t len, const uint8_ 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_get_u32(struct xua_msg *xua, uint16_t iei); +int xua_msg_add_sccp_addr(struct xua_msg *xua, uint16_t iei, const struct osmo_sccp_addr *addr); -- cgit v1.2.3