drsuapi_SupportedExtensionsExt
[wireshark-sm.git] / epan / stat_groups.h
blob7b0c66bc5fe68b480190c95db85bdaab5cadfb6e
1 /* stat_groups.h
2 * Definitions of groups for statistics
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
11 #ifndef __STAT_GROUPS_H__
12 #define __STAT_GROUPS_H__
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
18 /** @file
19 * Add a new menu item for a stat.
23 * Menu statistics group definitions. Used by ui/qt/tap_parameter_dialog.h
24 * and by epan/wslua/init_wslua.c
26 * REGISTER_ANALYZE_GROUP_CONVERSATION_FILTER and
27 * REGISTER_STAT_GROUP_[CONVERSATION|ENDPOINT]_LIST are unused and present
28 * for historical reasons. To register members to those menus, use
29 * epan/conversation_filter.h and epan/conversation_table.h, respectively.
31 * XXX - stats should be able to register additional menu groups, although
32 * the question then would be "in what order should they appear in the menu?"
35 /*! Statistics groups. Used for UI menu layout. */
36 typedef enum register_stat_group_e {
37 REGISTER_PACKET_ANALYZE_GROUP_UNSORTED, /*!< Unsorted packet analysis */
38 REGISTER_ANALYZE_GROUP_CONVERSATION_FILTER, /*!< Conversation filters. Unused. */
39 REGISTER_PACKET_STAT_GROUP_UNSORTED, /*!< Unsorted packet statistics */
40 REGISTER_STAT_GROUP_GENERIC, /*!< Generic statistics, not specific to a protocol */
41 REGISTER_STAT_GROUP_CONVERSATION_LIST, /*!< Member of the conversation list. Unused. */
42 REGISTER_STAT_GROUP_ENDPOINT_LIST, /*!< Member of the endpoint list. Unused. */
43 REGISTER_STAT_GROUP_RESPONSE_TIME, /*!< Member of the service response time list */
44 REGISTER_STAT_GROUP_RSERPOOL, /*!< Member of the RSerPool list */
45 REGISTER_TELEPHONY_GROUP_UNSORTED, /*!< Telephony specific */
46 REGISTER_TELEPHONY_GROUP_ANSI, /*!< Name says it all */
47 REGISTER_TELEPHONY_GROUP_GSM, /*!< GSM (and UMTS?) */
48 REGISTER_TELEPHONY_GROUP_3GPP_UU, /*!< Name says it all */
49 REGISTER_TELEPHONY_GROUP_MTP3, /*!< Name says it all */
50 REGISTER_TELEPHONY_GROUP_SCTP, /*!< Name says it all */
51 REGISTER_TOOLS_GROUP_UNSORTED, /*!< Unsorted tools */
52 REGISTER_LOG_ANALYZE_GROUP_UNSORTED, /*!< Unsorted log analysis */
53 REGISTER_LOG_STAT_GROUP_UNSORTED, /*!< Unsorted log statistics */
54 } register_stat_group_t;
56 /** Format types for "Save As..." */
57 /* XXX Is there a more appropriate place to define this? */
58 typedef enum _st_format_type {
59 ST_FORMAT_PLAIN, ST_FORMAT_CSV, ST_FORMAT_XML, ST_FORMAT_YAML
60 } st_format_type;
62 #ifdef __cplusplus
64 #endif /* __cplusplus */
66 #endif /* __STAT_GROUPS_H__ */