Rebuild the IEC 61850 dissector.
[obnox/wireshark/wip.git] / epan / dissectors / packet-sv.h
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-sv.h                                                                */
4 /* ../../tools/asn2wrs.py -b -p sv -c ./sv.cnf -s ./packet-sv-template -D . sv.asn */
5
6 /* Input file: packet-sv-template.h */
7
8 #line 1 "packet-sv-template.h"
9 /* packet-sv.h
10  * Routines for IEC 61850 Sampled Vales packet dissection
11  * Michael Bernhard 2008
12  *
13  * $Id$
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  */
33
34 #ifndef __PACKET_SV_H__
35 #define __PACKET_SV_H__
36
37 #define IEC61850_SV_MAX_PHSMEAS_ENTRIES 20
38
39 typedef struct _sv_phs_meas {
40         gint32 value;
41         guint32 qual;
42 } sv_phs_meas;
43
44 typedef struct _sv_frame_data {
45         guint16 smpCnt;
46         guint8 smpSynch;
47         guint8 num_phsMeas;
48         sv_phs_meas phsMeas[IEC61850_SV_MAX_PHSMEAS_ENTRIES];
49 } sv_frame_data;
50
51 #endif /*__PACKET_SV_H__*/