Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" as
[obnox/wireshark/wip.git] / color_filters.h
index 5915e8f4f5799fae41da4ea0c74407fcd5aa03b9..46646d05b6f885adf4df36a3580416699f2fe154 100644 (file)
@@ -78,6 +78,28 @@ gboolean color_filters_export(gchar *path, gboolean only_marked);
  */
 void color_filters_prime_edt(epan_dissect_t *edt);
 
+/** Color filters currently used?
+ *
+ * @return TRUE, if filters are used
+ */
+gboolean color_filters_used(void);
+
+/** En-/disable color filters
+ *
+ * @param enable TRUE to enable (default)
+ */
+void
+color_filters_enable(gboolean enable);
+
+/** Colorize a specific packet.
+ *
+ * @param row the row in the packet list
+ * @param edt the dissected packet
+ * @return the matching color filter or NULL
+ */
+color_filter_t *
+color_filters_colorize_packet(gint row, epan_dissect_t *edt);
+
 /** Create a new color filter.
  *
  * @param name the name of the filter