From 8701b273ddd7fae048e5e199d59739654ac54421 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 18 May 2020 20:17:25 +0700 Subject: library/IPA: rename ASP_IPA_EventUpDown to ASP_IPA_EventType The old name was a bit confusing, because this enumerated type also contains ASP_IPA_EVENT_ID_ACK, among with UP/DOWN events. Change-Id: I8f73a64de40d1c8e9b7f43f538d6b59dcede065f --- library/IPA_Emulation.ttcnpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'library/IPA_Emulation.ttcnpp') diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp index 7b80c2d2..6658ca86 100644 --- a/library/IPA_Emulation.ttcnpp +++ b/library/IPA_Emulation.ttcnpp @@ -76,7 +76,7 @@ type record ASP_IPA_Unitdata { octetstring payload } -type enumerated ASP_IPA_EventUpDown { +type enumerated ASP_IPA_EventType { ASP_IPA_EVENT_DOWN, ASP_IPA_EVENT_UP, ASP_IPA_EVENT_ID_ACK @@ -85,10 +85,10 @@ type enumerated ASP_IPA_EventUpDown { /* an event indicating us whether or not a connection is physically up or down, * and whether we have received an ID_ACK */ type union ASP_IPA_Event { - ASP_IPA_EventUpDown up_down + ASP_IPA_EventType up_down } -template ASP_IPA_Event t_ASP_IPA_EVT_UD(ASP_IPA_EventUpDown ud) := { +template ASP_IPA_Event t_ASP_IPA_EVT_UD(ASP_IPA_EventType ud) := { up_down := ud } -- cgit v1.2.3