aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-02-12 19:46:02 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-13 15:09:17 +0100
commit0dd089f17dfa6ea2a092cd76d9e65ac96b923635 (patch)
tree7adfde4e9d6a5d66eb100afda4a3b7e5068ae782 /include/osmocom/sigtran
parentf17725a86f0c895ca1d73f73a95754de20a4c7ad (diff)
Move xua_msg_add_sccp_addr() to xua_msg.h and export it
Diffstat (limited to 'include/osmocom/sigtran')
-rw-r--r--include/osmocom/sigtran/xua_msg.h2
1 files changed, 2 insertions, 0 deletions
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);