From 79fb8a66f3f68a387c75312e08572589846e89c0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 29 Oct 2019 21:48:35 +0100 Subject: introduce public enum osmo_ss7_asp_role for ASP/SG/IPSP This supersedes the library-internal enum xua_asp_role. Change-Id: I28b0888b8f8206e9dd67ef64ce0f71ba9a7105ce --- include/osmocom/sigtran/osmo_ss7.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h index 04058c2..87336a8 100644 --- a/include/osmocom/sigtran/osmo_ss7.h +++ b/include/osmocom/sigtran/osmo_ss7.h @@ -369,6 +369,14 @@ enum osmo_ss7_asp_admin_state { OSMO_SS7_ASP_ADM_S_ENABLED, }; +enum osmo_ss7_asp_role { + OSMO_SS7_ASP_ROLE_ASP, + OSMO_SS7_ASP_ROLE_SG, + OSMO_SS7_ASP_ROLE_IPSP, +}; + +extern const struct value_string osmo_ss7_asp_role_names[]; + struct osmo_ss7_asp { /*! entry in \ref osmo_ss7_instance.asp_list */ struct llist_head list; -- cgit v1.2.3