forked from osmocom/wireshark
![Hannes Mezger](/assets/img/avatar_default.png)
Change-Id: Ie02326e365ee3f620fcbe3f2e8e45dc5300d3418 Reviewed-on: https://code.wireshark.org/review/4728 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
47 lines
1.8 KiB
C
47 lines
1.8 KiB
C
/******************************************************************************
|
|
** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved.
|
|
** Web: http://www.ascolab.com
|
|
**
|
|
** This program is free software; you can redistribute it and/or
|
|
** modify it under the terms of the GNU General Public License
|
|
** as published by the Free Software Foundation; either version 2
|
|
** of the License, or (at your option) any later version.
|
|
**
|
|
** 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;
|