[MERGED] osmo-ttcn3-hacks[master]: GSUP_Types: Use (value) annotation for send (ts_) templates

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Jan 27 18:01:32 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: GSUP_Types: Use (value) annotation for send (ts_) templates
......................................................................


GSUP_Types: Use (value) annotation for send (ts_) templates

Change-Id: I5c74ad71e8a0966f10bddcdf800cd94226cd900d
---
M library/GSUP_Types.ttcn
1 file changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn
index 4d2c3c5..b9c6f39 100644
--- a/library/GSUP_Types.ttcn
+++ b/library/GSUP_Types.ttcn
@@ -227,7 +227,7 @@
 	ies := ies
 }
 
-template GSUP_PDU ts_GSUP_SAI_REQ(hexstring imsi) :=
+template (value) GSUP_PDU ts_GSUP_SAI_REQ(hexstring imsi) :=
 	ts_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { valueof(ts_GSUP_IE_IMSI(imsi)) });
 
 template GSUP_PDU tr_GSUP_SAI_REQ(template hexstring imsi) :=
@@ -241,9 +241,9 @@
 	tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR, {
 			tr_GSUP_IE_IMSI(imsi), tr_GSUP_IE_Cause(cause) });
 
-template GSUP_PDU ts_GSUP_SAI_ERR(hexstring imsi, integer cause) :=
-	tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR, {
-			ts_GSUP_IE_IMSI(imsi), ts_GSUP_IE_Cause(cause) });
+template (value) GSUP_PDU ts_GSUP_SAI_ERR(hexstring imsi, integer cause) :=
+	ts_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR, {
+			valueof(ts_GSUP_IE_IMSI(imsi)), valueof(ts_GSUP_IE_Cause(cause)) });
 
 
 template GSUP_PDU tr_GSUP_SAI_RES(template hexstring imsi) :=
@@ -254,14 +254,14 @@
 	tr_GSUP(OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST, {
 			tr_GSUP_IE_IMSI(imsi), * });
 
-template GSUP_PDU ts_GSUP_UL_RES(hexstring imsi) :=
+template (value) GSUP_PDU ts_GSUP_UL_RES(hexstring imsi) :=
 	ts_GSUP(OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT, { valueof(ts_GSUP_IE_IMSI(imsi)) });
 
-template GSUP_PDU ts_GSUP_UL_ERR(hexstring imsi, integer cause) :=
+template (value) GSUP_PDU ts_GSUP_UL_ERR(hexstring imsi, integer cause) :=
 	ts_GSUP(OSMO_GSUP_MSGT_UPDATE_LOCATION_ERROR, {
 			valueof(ts_GSUP_IE_IMSI(imsi)), valueof(ts_GSUP_IE_Cause(cause)) });
 
-template GSUP_PDU ts_GSUP_ISD_REQ(hexstring imsi, hexstring msisdn) :=
+template (value) GSUP_PDU ts_GSUP_ISD_REQ(hexstring imsi, hexstring msisdn) :=
 	ts_GSUP(OSMO_GSUP_MSGT_INSERT_DATA_REQUEST, {
 			valueof(ts_GSUP_IE_IMSI(imsi)), valueof(ts_GSUP_IE_MSISDN(msisdn)) });
 

-- 
To view, visit https://gerrit.osmocom.org/6135
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c74ad71e8a0966f10bddcdf800cd94226cd900d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list