summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-22 22:11:27 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-23 14:11:54 +0100
commita2db75f28cfbf096b076058ff89d1ef2cac3e6b1 (patch)
tree40585b240fa13a6294bdb3deb2caa52a2fc1988b /include
parent8db1134c72d629d16368eb493a231d9ec742cf17 (diff)
Add osmo_prim_op_names[] symbol and _SAP_SS7_BASE define
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/prim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/prim.h b/include/osmocom/core/prim.h
index 935ce51a..e920eb8c 100644
--- a/include/osmocom/core/prim.h
+++ b/include/osmocom/core/prim.h
@@ -20,10 +20,13 @@ enum osmo_prim_operation {
PRIM_OP_CONFIRM, /*!< \brief cofirm */
};
+const struct value_string osmo_prim_op_names[5];
+
#define _SAP_GSM_SHIFT 24
#define _SAP_GSM_BASE (0x01 << _SAP_GSM_SHIFT)
#define _SAP_TETRA_BASE (0x02 << _SAP_GSM_SHIFT)
+#define _SAP_SS7_BASE (0x03 << _SAP_GSM_SHIFT)
/*! \brief primitive header */
struct osmo_prim_hdr {