From 7b56b75f36a603e878a0a762818253926b3271e5 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 10 Jan 2020 14:14:41 +0100 Subject: ss7: Introduce APIs to manage asp_peer hosts The code managing addresses is decoupled from xua_server since they will also be used to manage addresses for ASPs. Change-Id: I4af2a6915ac57c7baa67343bd9414c65154d67f7 --- include/osmocom/sigtran/osmo_ss7.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h index de9494b..2502407 100644 --- a/include/osmocom/sigtran/osmo_ss7.h +++ b/include/osmocom/sigtran/osmo_ss7.h @@ -429,6 +429,9 @@ struct osmo_ss7_asp { }; int osmo_ss7_asp_peer_snprintf(char* buf, size_t buf_len, struct osmo_ss7_asp_peer *peer); +int osmo_ss7_asp_peer_set_hosts(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, + const char* const* hosts, size_t host_cnt); +int osmo_ss7_asp_peer_add_host(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const char *host); struct osmo_ss7_asp * osmo_ss7_asp_find_by_name(struct osmo_ss7_instance *inst, const char *name); -- cgit v1.2.3