diff options
author | Max <msuraev@sysmocom.de> | 2016-03-30 21:14:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-03-30 21:50:44 +0200 |
commit | fb348eeff25e8e66a4a8651dc94901c7a004343a (patch) | |
tree | 6c6cea6c82a45796e855a778442655f81d29d026 /include/osmocom/gsm/gsm_utils.h | |
parent | 92c4ec293d0b73e5c6306d26e608340edc40b04c (diff) |
Export names for gsm_chan_t and gsm48_chan_mode
This can be used with get_value_string() to improve debugging output.
Diffstat (limited to 'include/osmocom/gsm/gsm_utils.h')
-rw-r--r-- | include/osmocom/gsm/gsm_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsm_utils.h b/include/osmocom/gsm/gsm_utils.h index 6458447f..99aae65f 100644 --- a/include/osmocom/gsm/gsm_utils.h +++ b/include/osmocom/gsm/gsm_utils.h @@ -28,6 +28,7 @@ #include <stdint.h> #include <osmocom/core/defs.h> +#include <osmocom/core/utils.h> #define ADD_MODULO(sum, delta, modulo) do { \ if ((sum += delta) >= modulo) \ @@ -199,6 +200,8 @@ enum gsm_chan_t { _GSM_LCHAN_MAX }; +extern const struct value_string gsm_chan_t_names[]; + /* Deprectated functions */ /* Limit encoding and decoding to use no more than this amount of buffer bytes */ #define GSM_7BIT_LEGACY_MAX_BUFFER_SIZE 0x10000 |