aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-02-12 21:31:46 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-13 15:09:17 +0100
commit0ebde0c42de86df0c941d8533758d3cedef725e7 (patch)
tree48481d10d37cbbfac806804affee6a982bc257f0 /include/osmocom/sigtran
parent0dd089f17dfa6ea2a092cd76d9e65ac96b923635 (diff)
sccp_helpers: Add osmo_sccp_{addr,gt}_dump() functions
They stringify a global title or SCCP address for human consumption Change-Id: I630308aa4519c6e9a260419d37a376aac6a1ce28
Diffstat (limited to 'include/osmocom/sigtran')
-rw-r--r--include/osmocom/sigtran/sccp_helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/sccp_helpers.h b/include/osmocom/sigtran/sccp_helpers.h
index 3384630..968c500 100644
--- a/include/osmocom/sigtran/sccp_helpers.h
+++ b/include/osmocom/sigtran/sccp_helpers.h
@@ -37,3 +37,6 @@ int osmo_sccp_tx_data(struct osmo_sccp_link *link, uint32_t conn_id,
int osmo_sccp_tx_data_msg(struct osmo_sccp_link *link, uint32_t conn_id,
struct msgb *msg);
+
+char *osmo_sccp_gt_dump(const struct osmo_sccp_gt *gt);
+char *osmo_sccp_addr_dump(const struct osmo_sccp_addr *addr);