summaryrefslogtreecommitdiffstats
path: root/src/gsm/libosmogsm.map
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-06-15 23:05:19 +0200
committerHarald Welte <laforge@gnumonks.org>2019-07-20 12:11:28 +0200
commitf72155a3a42d74a0367ecde504ff394ad22374de (patch)
treeb50360ec913630c20bbdd23d155be7486c53622a /src/gsm/libosmogsm.map
parent07958e44ec97060b264dc170e0b2a3da6d62aac3 (diff)
cbsp: Introduce osmo_cbsp_errstr
Rather than having the encoder/decoder library print some log messages in case of encoding/decoding errors, let's provide something akin to 'errno', but with a string instead of a numeric error code. The 'osmo_cbsp_errstr' global variable (if set) contains a human-readable string describing the most recent encoding/decoding error. It exists separately for each thread and hence can be used safely in multi-threaded environments. Change-Id: Id9a5a595a76ba278647aee9470ded213d8464103
Diffstat (limited to 'src/gsm/libosmogsm.map')
-rw-r--r--src/gsm/libosmogsm.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index eefcf61a..ea1f759d 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -656,6 +656,7 @@ osmo_cbsp_init_struct;
osmo_cbsp_encode;
osmo_cbsp_decode;
osmo_cbsp_recv_buffered;
+osmo_cbsp_errstr;
local: *;
};