nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /******************************************************************************
2 ** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved.
3 ** Web: http://www.ascolab.com
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the GNU General Public License
7 ** as published by the Free Software Foundation; either version 2
8 ** of the License, or (at your option) any later version.
9 **
10 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12 **
13 ** Project: OpcUa Wireshark Plugin
14 **
15 ** Description: Parser type definitions.
16 **
17 ** This file was autogenerated on 6/10/2007 2:35:22 AM.
18 ** DON'T MODIFY THIS FILE!
19 ** XXX - well, except that you may have to. See the README.
20 **
21 ******************************************************************************/
22  
23 #include <glib.h>
24 #include <epan/packet.h>
25  
26 /* declare service parser function prototype */
27 typedef void (*fctServiceParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset);
28 /* declare enum parser function prototype */
29 typedef void (*fctEnumParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset);
30 /* declare type parser function prototype */
31 typedef void (*fctComplexTypeParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset, const char *szFieldName);
32 /* declare type parser function prototype */
33 typedef proto_item* (*fctSimpleTypeParser)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset, int hfIndex);
34  
35 typedef struct _ParserEntry
36 {
37 int iRequestId;
38 fctServiceParser pParser;
39 } ParserEntry;
40  
41 typedef struct _ExtensionObjectParserEntry
42 {
43 int iRequestId;
44 fctComplexTypeParser pParser;
45 const gchar *typeName;
46 } ExtensionObjectParserEntry;