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
diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp
index 7b80c2d..6658ca8 100644
--- a/library/IPA_Emulation.ttcnpp
+++ b/library/IPA_Emulation.ttcnpp
@@ -76,7 +76,7 @@
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 @@
/* 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
}