diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2014-06-10 18:01:27 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-11 13:57:26 +0000 |
commit | abf1b5ead7f58ff6cd204c3727bed30eebe75e4e (patch) | |
tree | 29c44eb72ca41098f038c5ef4c435be7a5321452 /plugins/opcua/opcua_complextypeparser.c | |
parent | 2ab3b2ac2b6300fd10df046e2d75acf6328ac332 (diff) |
Regenerate all sources using latest OPC UA specification
- HistoryUpdateEventResult has been removed
- Fixes two enums
- Removes unused identifier defines
Change-Id: I39c65c1eca1701b60dfaa3541cd7a5d1b479fb9b
Reviewed-on: https://code.wireshark.org/review/2129
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins/opcua/opcua_complextypeparser.c')
-rw-r--r-- | plugins/opcua/opcua_complextypeparser.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/plugins/opcua/opcua_complextypeparser.c b/plugins/opcua/opcua_complextypeparser.c index 9c4b04c775..f8a9a815b3 100644 --- a/plugins/opcua/opcua_complextypeparser.c +++ b/plugins/opcua/opcua_complextypeparser.c @@ -1,5 +1,5 @@ /****************************************************************************** -** Copyright (C) 2006-2009 ascolab GmbH. All Rights Reserved. +** Copyright (C) 2006-2014 ascolab GmbH. All Rights Reserved. ** Web: http://www.ascolab.com ** ** This program is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ ** ** Description: OpcUa Complex Type Parser ** -** This file was autogenerated on 12.02.2013. +** This file was autogenerated on 10.06.2014. ** DON'T MODIFY THIS FILE! ** ******************************************************************************/ @@ -1072,7 +1072,8 @@ void parseUpdateEventDetails(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, con parseNodeId(subtree, tvb, pOffset, "NodeId"); parsePerformUpdateType(subtree, tvb, pOffset); parseEventFilter(subtree, tvb, pOffset, "Filter"); - parseHistoryEventFieldList(subtree, tvb, pOffset, "EventData"); + /* Array length field ignored: NoOfEventData */ + parseArrayComplex(subtree, tvb, pOffset, "EventData", parseHistoryEventFieldList); proto_item_set_end(ti, tvb, *pOffset); } gint ett_opcua_DeleteRawModifiedDetails = -1; @@ -1118,15 +1119,6 @@ void parseHistoryUpdateResult(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, co parseArrayComplex(subtree, tvb, pOffset, "DiagnosticInfos", parseDiagnosticInfo); proto_item_set_end(ti, tvb, *pOffset); } -gint ett_opcua_HistoryUpdateEventResult = -1; -void parseHistoryUpdateEventResult(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, const char *szFieldName) -{ - proto_item *ti = proto_tree_add_text(tree, tvb, *pOffset, -1, "%s : HistoryUpdateEventResult", szFieldName); - proto_tree *subtree = proto_item_add_subtree(ti, ett_opcua_HistoryUpdateEventResult); - parseStatusCode(subtree, tvb, pOffset, hf_opcua_StatusCode); - parseEventFilterResult(subtree, tvb, pOffset, "EventFilterResult"); - proto_item_set_end(ti, tvb, *pOffset); -} gint ett_opcua_CallMethodRequest = -1; void parseCallMethodRequest(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, const char *szFieldName) { @@ -1865,7 +1857,6 @@ static gint *ett[] = &ett_opcua_DeleteAtTimeDetails, &ett_opcua_DeleteEventDetails, &ett_opcua_HistoryUpdateResult, - &ett_opcua_HistoryUpdateEventResult, &ett_opcua_CallMethodRequest, &ett_opcua_CallMethodResult, &ett_opcua_DataChangeFilter, |