tshark: endpoints statistics are not supported for now, do not list them in -z
[metze/wireshark/wip.git] / color_filters.h
index 5ada0fd10dbed3cfdf10775458a33cf437cd3b7e..e8262d85b4d0b3020ed0ad73d4a2adf6f6fd33d5 100644 (file)
@@ -1,8 +1,6 @@
 /* color_filters.h
  * Definitions for color filters
  *
- * $Id$
- *
  * Wireshark - Network traffic analyzer
  * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
@@ -28,6 +26,8 @@
 extern "C" {
 #endif /* __cplusplus */
 
+struct epan_dissect;
+
 #define CONVERSATION_COLOR_PREFIX       "___conversation_color_filter___"
 /** @file
  *  Color filters.
@@ -35,19 +35,18 @@ extern "C" {
 
 /* Data for a color filter. */
 typedef struct _color_filter {
-    gchar     *filter_name;   /* name of the filter */
-    gchar     *filter_text;   /* text of the filter expression */
-    color_t    bg_color;      /* background color for packets that match */
-    color_t    fg_color;      /* foreground color for packets that match */
-    gboolean   disabled;      /* set if the filter is disabled */
-    gboolean   selected;      /* set if the filter is selected in the color dialog box */
-
-    /* only used inside of color_filters.c */
-    dfilter_t *c_colorfilter; /* compiled filter expression */
-
-    /* only used outside of color_filters.c (beside init) */
-    void      *edit_dialog;   /* if filter is being edited, dialog
-                               * box for it */
+    gchar     *filter_name;         /* name of the filter */
+    gchar     *filter_text;         /* text of the filter expression */
+    color_t    bg_color;            /* background color for packets that match */
+    color_t    fg_color;            /* foreground color for packets that match */
+    gboolean   disabled;            /* set if the filter is disabled */
+    gboolean   selected;            /* set if the filter is selected in the color dialog box */
+
+                                    /* only used inside of color_filters.c */
+    struct epan_dfilter *c_colorfilter;  /* compiled filter expression */
+
+                                    /* only used outside of color_filters.c (beside init) */
+    void      *color_edit_dlg_info; /* if filter is being edited, ptr to req'd info */
 } color_filter_t;
 
 
@@ -99,16 +98,15 @@ color_filters_reset_tmp(void);
  *
  * @param the epan dissector details
  */
-void color_filters_prime_edt(epan_dissect_t *edt);
+void color_filters_prime_edt(struct epan_dissect *edt);
 
 /** Colorize a specific packet.
  *
- * @param row the row in the packet list
  * @param edt the dissected packet
  * @return the matching color filter or NULL
  */
 const color_filter_t *
-color_filters_colorize_packet(epan_dissect_t *edt);
+color_filters_colorize_packet(struct epan_dissect *edt);
 
 /** Clone the currently active filter list.
  *
@@ -199,3 +197,16 @@ void color_filter_list_delete(GSList **cfl);
 #endif /* __cplusplus */
 
 #endif
+
+/*
+ * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */