Replace a handful of tabs with spaces.
[obnox/wireshark/wip.git] / gtk / mtp3_stat.h
1 /* mtp3_stat.h
2  *
3  * $Id$
4  *
5  * Copyright 2004, Michael Lum <mlum [AT] telostech.com>,
6  * In association with Telos Technology Inc.
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25  */
26
27 /** @file
28  *  Statistics for MTP3.
29  *  @todo Could someone with more knowledge of this comment it for doxygen?
30  */
31
32 typedef struct _mtp3_stat_si_code_t {
33     int                         num_msus;
34     double                      size;
35 } mtp3_stat_si_code_t;
36
37 typedef struct _mtp3_stat_t {
38     mtp3_addr_pc_t              addr_opc;
39     mtp3_addr_pc_t              addr_dpc;
40     mtp3_stat_si_code_t         si_code[MTP3_NUM_SI_CODE];
41 } mtp3_stat_t;
42
43 /*
44  * I don't like it but I don't have time to create
45  * the code for a dynamic size solution
46  */
47 #define MTP3_MAX_NUM_OPC_DPC    50
48
49 extern mtp3_stat_t              mtp3_stat[];
50 extern guint8                   mtp3_num_used;