summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-10-29 21:48:35 +0100
committerlaforge <laforge@osmocom.org>2019-11-05 20:50:37 +0000
commit79fb8a66f3f68a387c75312e08572589846e89c0 (patch)
tree997274cb3d3ca597a294777270ef59041a6a6807 /include
parentebd2fc60461763e756e5a6c3176a33f3fa005282 (diff)
introduce public enum osmo_ss7_asp_role for ASP/SG/IPSP
This supersedes the library-internal enum xua_asp_role. Change-Id: I28b0888b8f8206e9dd67ef64ce0f71ba9a7105ce
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h8
1 files changed, 8 insertions, 0 deletions
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;