HACK: 1. try to match RowsetProperties
[wireshark-wip.git] / ui / gtk / mtp3_stat.h
blobbf35d52be416fd31299c6c2ac8c79e1e507dd8d5
1 /* mtp3_stat.h
3 * $Id$
5 * Copyright 2004, Michael Lum <mlum [AT] telostech.com>,
6 * In association with Telos Technology Inc.
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef __MTP3_STAT_H__
28 #define __MTP3_STAT_H__
30 /** @file
31 * Statistics for MTP3.
32 * @todo Could someone with more knowledge of this comment it for doxygen?
35 typedef struct _mtp3_stat_si_code_t {
36 int num_msus;
37 int size;
38 } mtp3_stat_si_code_t;
40 typedef struct _mtp3_stat_t {
41 mtp3_addr_pc_t addr_opc;
42 mtp3_addr_pc_t addr_dpc;
43 mtp3_stat_si_code_t si_code[MTP3_NUM_SI_CODE];
44 } mtp3_stat_t;
47 * I don't like it but I don't have time to create
48 * the code for a dynamic size solution
50 #define MTP3_MAX_NUM_OPC_DPC 50
52 extern mtp3_stat_t mtp3_stat[];
53 extern guint8 mtp3_num_used;
55 #endif /* __MTP3_STAT_H__ */