From a2db75f28cfbf096b076058ff89d1ef2cac3e6b1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 22 Dec 2015 22:11:27 +0100 Subject: Add osmo_prim_op_names[] symbol and _SAP_SS7_BASE define --- src/Makefile.am | 2 +- src/prim.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/prim.c (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 32cefc8b..c46cddf9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,7 +15,7 @@ libosmocore_la_SOURCES = timer.c select.c signal.c msgb.c bits.c \ gsmtap_util.c crc16.c panic.c backtrace.c \ conv.c application.c rbtree.c strrb.c \ loggingrb.c crc8gen.c crc16gen.c crc32gen.c crc64gen.c \ - macaddr.c stat_item.c stats.c stats_statsd.c + macaddr.c stat_item.c stats.c stats_statsd.c prim.c BUILT_SOURCES = crc8gen.c crc16gen.c crc32gen.c crc64gen.c 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 +#include + +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 } +}; -- cgit v1.2.3