pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41123?usp=email )

 (

2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: tcap: Add initial templates
......................................................................

tcap: Add initial templates

Change-Id: Ibc471733554c75b7c494b2bd4126232dd8c0553c
---
A library/tcap/TCAP_Templates.ttcn
1 file changed, 53 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/library/tcap/TCAP_Templates.ttcn b/library/tcap/TCAP_Templates.ttcn
new file mode 100644
index 0000000..92f4bb9
--- /dev/null
+++ b/library/tcap/TCAP_Templates.ttcn
@@ -0,0 +1,53 @@
+module TCAP_Templates {
+
+import from General_Types all;
+import from Misc_Helpers all;
+import from Native_Functions all;
+
+import from TCAPMessages language "ASN.1:1997" all;
+import from TCAP_Types all;
+
+
+template (value) TCMessage
+ts_TCAP_Begin(template (value) OCT4 otid) := {
+       begin := {
+               otid := otid,
+               dialoguePortion := omit,
+               components := omit
+       }
+}
+
+template (value) TCMessage
+ts_TCAP_Continue(template (value) OCT4 otid,
+                template (value) OCT4 dtid) := {
+       continue_ := {
+               otid := otid,
+               dtid := dtid,
+               dialoguePortion := omit,
+               components := omit
+       }
+}
+
+template (value) TCMessage
+ts_TCAP_End(template (value) OCT4 dtid) := {
+       end := {
+               dtid := dtid,
+               dialoguePortion := omit,
+               components := omit
+       }
+}
+
+template (value) TCMessage
+ts_TCAP_Abort(template (value) OCT4 dtid, template (omit) Reason reason := 
omit) := {
+       abort := {
+               dtid := dtid,
+               reason := reason
+       }
+}
+
+template (value) Reason
+ts_TCAP_Reason_p_AbortCause(template (value) P_AbortCause p_abortCause := 0 
/*unrecognizedMessageType*/) := {
+       p_abortCause := p_abortCause
+}
+
+}

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41123?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ibc471733554c75b7c494b2bd4126232dd8c0553c
Gerrit-Change-Number: 41123
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>

Reply via email to