The Styleguide section has been moved to the Wireshark Developer's Guide.
[obnox/wireshark/wip.git] / stat_menu.h
index 4149e8da27540e85ae60ab94d0255532d2f2f0aa..80d55dc56f6c9f63841013a8d17263ac69ae78e5 100644 (file)
@@ -43,21 +43,15 @@ extern "C" {
 
 /** The menu group this stat should be registered in. */
 typedef enum {
-    REGISTER_STAT_GROUP_NONE,
-    REGISTER_STAT_GROUP_GENERIC,
-#if GTK_MAJOR_VERSION >= 2
-    REGISTER_STAT_GROUP_CONTENT_LIST,
-#endif
-    REGISTER_STAT_GROUP_CONVERSATION_LIST,
-    REGISTER_STAT_GROUP_ENDPOINT_LIST,
-    REGISTER_STAT_GROUP_RESPONSE_TIME,
-    REGISTER_STAT_GROUP_TELEPHONY,
-    /* XXX - split into telephony and VoIP? */
-       REGISTER_ANALYZE_GROUP_NONE,
-       REGISTER_USER_TABLES
-#ifdef HAVE_LUA_5_1
-       ,REGISTER_TOOLS_GROUP_NONE
-#endif
+    REGISTER_ANALYZE_GROUP_UNSORTED,            /* unsorted analyze stuff */
+    REGISTER_ANALYZE_GROUP_CONVERSATION_FILTER, /* conversation filters */
+    REGISTER_STAT_GROUP_UNSORTED,               /* unsorted statistic function */
+    REGISTER_STAT_GROUP_GENERIC,                /* generic statistic function, not specific to a protocol */
+    REGISTER_STAT_GROUP_CONVERSATION_LIST,      /* member of the conversation list */
+    REGISTER_STAT_GROUP_ENDPOINT_LIST,          /* member of the endpoint list */
+    REGISTER_STAT_GROUP_RESPONSE_TIME,          /* member of the service response time list */
+    REGISTER_STAT_GROUP_TELEPHONY,              /* telephony specific */
+    REGISTER_TOOLS_GROUP_UNSORTED               /* unsorted tools */
 } register_stat_group_t;
 
 #ifdef __cplusplus