libosmocore/include/osmocom
Neels Hofmeyr 00ab9ed6e2 add gsm48_pdisc_msgtype_name()
Composing the message type string requires knowing the protocol discriminator.
To ease printing the message type, add this function to switch between the
defined value_string[]s depending on pdisc.

Also publish the message type value_string[]s -- without inline functions to
access them because it is anyway more convenient to use
gsm48_pdisc_msgtype_name() instead.

Since gsm48_pdisc_msgtype_name() is nontrivial, do not add as inline function
-- in case the message type is not known, it needs a static string buffer.

Change-Id: I0fca8e95ed5c2148b1a7440eff3fc9c7583898df
2017-03-16 12:54:18 +00:00
..
codec Mark inline header function as static 2016-09-30 12:31:50 +00:00
coding libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
core fix OSMO_VALUE_STRING macro: don't use OSMO_STRINGIFY() 2017-03-15 13:54:26 +00:00
crypt osmo_auth_gen_vec: UMTS auth: fix SQN as SEQ || IND 2017-03-15 12:46:08 +00:00
ctrl ctrl_type_vals: explicitly terminate 2017-03-15 13:47:20 +00:00
gprs logging: centrally define ctx and filter indexes 2017-02-22 16:08:38 +00:00
gsm add gsm48_pdisc_msgtype_name() 2017-03-16 12:54:18 +00:00
sim sim: make osim_reader_ops public 2016-03-19 21:18:40 +01:00
vty ports.h: rename CSCN to MSC 2017-02-24 19:57:48 +00:00