diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /plugins/epan/opcua/opcua_identifiers.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/epan/opcua/opcua_identifiers.h')
-rw-r--r-- | plugins/epan/opcua/opcua_identifiers.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/plugins/epan/opcua/opcua_identifiers.h b/plugins/epan/opcua/opcua_identifiers.h new file mode 100644 index 00000000..2cff1b29 --- /dev/null +++ b/plugins/epan/opcua/opcua_identifiers.h @@ -0,0 +1,43 @@ +/****************************************************************************** +** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved. +** Web: http://www.ascolab.com +** +** SPDX-License-Identifier: GPL-2.0-or-later +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +** Project: OpcUa Wireshark Plugin +** +** Description: Parser type definitions. +** +** This file was autogenerated on 6/10/2007 2:35:22 AM. +** DON'T MODIFY THIS FILE! +** XXX - well, except that you may have to. See the README. +** +******************************************************************************/ + +#include <glib.h> +#include <epan/packet.h> + +/* declare service parser function prototype */ +typedef void (*fctServiceParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset); +/* declare enum parser function prototype */ +typedef void (*fctEnumParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset); +/* declare type parser function prototype */ +typedef void (*fctComplexTypeParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset, const char *szFieldName); +/* declare type parser function prototype */ +typedef proto_item* (*fctSimpleTypeParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset, int hfIndex); + +typedef struct _ParserEntry +{ + int iRequestId; + fctServiceParser pParser; +} ParserEntry; + +typedef struct _ExtensionObjectParserEntry +{ + int iRequestId; + fctComplexTypeParser pParser; + const gchar *typeName; +} ExtensionObjectParserEntry; |