diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-09-09 02:15:33 +0200 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-09-14 15:11:59 +0000 |
commit | e1527f75f4902f26d44e7ef4036cd4898199a7c4 (patch) | |
tree | b491fcd059c20c08342f4abbaabc793e1076d626 | |
parent | faa42924445655a99ff95a630c22b66906fbc833 (diff) |
library/PCUIF_Types.ttcn: mark PCUIF_Text as 'null_terminated'
This is a TITAN specific attribute that allows to indicate that
a field of type 'charstring' is '\0'-terminated. Without that
attribute, 'PCUIF_Text' is mixed with the padding characters:
"0.7.0.5-df0f" & char(0, 0, 0, 0) & char(0, 0, 0, 0) & ...
Change-Id: Ic81fff4c82871bb29a2385b9ee7a2dd98f67dfb0
-rw-r--r-- | library/PCUIF_Types.ttcn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn index 27d9b92e..f13a7645 100644 --- a/library/PCUIF_Types.ttcn +++ b/library/PCUIF_Types.ttcn @@ -70,7 +70,7 @@ type enumerated PCUIF_TextType { PCU_OML_ALERT (1) } with { variant "FIELDLENGTH(8)" }; -type charstring PCUIF_Text length(128) with { variant "FIELDLENGTH(128)" }; +type charstring PCUIF_Text length(128) with { variant "FIELDLENGTH(null_terminated)" }; type record PCUIF_txt_ind { PCUIF_TextType txt_type, |