summaryrefslogtreecommitdiffstats
path: root/src/prim.c
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 /src/prim.c
parent8db1134c72d629d16368eb493a231d9ec742cf17 (diff)
Add osmo_prim_op_names[] symbol and _SAP_SS7_BASE define
Diffstat (limited to 'src/prim.c')
-rw-r--r--src/prim.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/prim.c b/src/prim.c
new file mode 100644
index 00000000..c2e71986
--- /dev/null
+++ b/src/prim.c
@@ -0,0 +1,10 @@
+#include <osmocom/core/utils.h>
+#include <osmocom/core/prim.h>
+
+const struct value_string osmo_prim_op_names[5] = {
+ { PRIM_OP_REQUEST, "request" },
+ { PRIM_OP_RESPONSE, "response" },
+ { PRIM_OP_INDICATION, "indication" },
+ { PRIM_OP_CONFIRM, "confirm" },
+ { 0, NULL }
+};