From 134e46323096419e14d680848a261dfaa37d84df Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 22 Sep 2020 22:47:24 +0200 Subject: add osmo_sccp_addr_to_str_c osmo_sccp_inst_addr_to_str_c Change-Id: Ia7f9d891ea92abd20855374b936aac8b28ae15df --- include/osmocom/sigtran/sccp_helpers.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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); -- cgit v1.2.3