Change in libosmo-sccp[master]: sua: Export IEI value_string names

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Jul 11 09:03:30 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9959


Change subject: sua: Export IEI value_string names
......................................................................

sua: Export IEI value_string names

Change-Id: I0b34eaa2cb4109879324dc9ba6c7dacd53b1a28f
---
M include/osmocom/sigtran/protocol/sua.h
M src/sua.c
2 files changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/59/9959/1

diff --git a/include/osmocom/sigtran/protocol/sua.h b/include/osmocom/sigtran/protocol/sua.h
index 70c16ba..592ad1c 100644
--- a/include/osmocom/sigtran/protocol/sua.h
+++ b/include/osmocom/sigtran/protocol/sua.h
@@ -158,3 +158,5 @@
 #define SUA_ERR_NO_CONFGD_AS_FOR_ASP	M3UA_ERR_NO_CONFGD_AS_FOR_ASP
 #define SUA_ERR_SUBSYS_STATUS_UNKN	0x1b
 #define SUA_ERR_INVAL_LOADSH_LEVEL	0x1c
+
+extern const struct value_string sua_iei_names[];
diff --git a/src/sua.c b/src/sua.c
index 4835665..f9c6acd 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -77,7 +77,7 @@
  * Protocol Definition (string tables, mandatory IE checking)
  ***********************************************************************/
 
-static const struct value_string sua_iei_names[] = {
+const struct value_string sua_iei_names[] = {
 	{ SUA_IEI_ROUTE_CTX,		"Routing Context" },
 	{ SUA_IEI_CORR_ID,		"Correlation Id" },
 	{ SUA_IEI_REG_RESULT,		"Registration Result" },

-- 
To view, visit https://gerrit.osmocom.org/9959
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b34eaa2cb4109879324dc9ba6c7dacd53b1a28f
Gerrit-Change-Number: 9959
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180711/54e7907a/attachment.htm>


More information about the gerrit-log mailing list