From 5a7eb34f735e0ae93a74da3bc8361454457e49cd Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 16 Jan 2020 19:12:26 +0100 Subject: sccp: Improve logging in sccp_to_xua_opt() Change-Id: Icb3f18f34ecfe0602c6e491b61107a30287dcafb --- include/osmocom/sccp/sccp_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/osmocom/sccp/sccp_types.h') diff --git a/include/osmocom/sccp/sccp_types.h b/include/osmocom/sccp/sccp_types.h index 71cbb0f..f43f822 100644 --- a/include/osmocom/sccp/sccp_types.h +++ b/include/osmocom/sccp/sccp_types.h @@ -80,6 +80,10 @@ enum sccp_parameter_name_codes { SCCP_PNC_LONG_DATA = 19, }; +extern const struct value_string osmo_sccp_pnc_names[]; +static inline const char *osmo_sccp_pnc_name(enum sccp_message_types val) +{ return get_value_string(osmo_sccp_pnc_names, val); } + /* Figure 3/Q.713 Called/calling party address */ enum { SCCP_TITLE_IND_NONE = 0, -- cgit v1.2.3