summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-09-22 22:47:24 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-09-22 22:47:24 +0200
commit134e46323096419e14d680848a261dfaa37d84df (patch)
tree100419446f75b897f333ef0f33d4f43e2804094c /include
parentc6a598d21c547f1b22bb9faa5273cc14256676b7 (diff)
add osmo_sccp_addr_to_str_c osmo_sccp_inst_addr_to_str_c
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sigtran/sccp_helpers.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/sccp_helpers.h b/include/osmocom/sigtran/sccp_helpers.h
index 3ef7740..831307d 100644
--- a/include/osmocom/sigtran/sccp_helpers.h
+++ b/include/osmocom/sigtran/sccp_helpers.h
@@ -54,5 +54,14 @@ int osmo_sccp_tx_conn_resp(struct osmo_sccp_user *scu, uint32_t conn_id,
char *osmo_sccp_gt_dump(const struct osmo_sccp_gt *gt);
char *osmo_sccp_addr_dump(const struct osmo_sccp_addr *addr);
+
+int osmo_sccp_inst_addr_to_str_buf(char *buf, size_t buf_len, const struct osmo_sccp_instance *sccp,
+ const struct osmo_sccp_addr *addr);
+char *osmo_sccp_inst_addr_to_str_c(void *ctx, const struct osmo_sccp_instance *sccp,
+ const struct osmo_sccp_addr *addr);
+int osmo_sccp_addr_to_str_buf(char *buf, size_t buf_len, const struct osmo_ss7_instance *ss7,
+ const struct osmo_sccp_addr *addr);
+char *osmo_sccp_addr_to_str_c(void *ctx, const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr);
+
char *osmo_sccp_addr_name(const struct osmo_ss7_instance *ss7, const struct osmo_sccp_addr *addr);
char *osmo_sccp_inst_addr_name(const struct osmo_sccp_instance *sccp, const struct osmo_sccp_addr *addr);