From 0ebde0c42de86df0c941d8533758d3cedef725e7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 12 Feb 2017 21:31:46 +0100 Subject: sccp_helpers: Add osmo_sccp_{addr,gt}_dump() functions They stringify a global title or SCCP address for human consumption Change-Id: I630308aa4519c6e9a260419d37a376aac6a1ce28 --- include/osmocom/sigtran/sccp_helpers.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/osmocom/sigtran') 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); -- cgit v1.2.3