This patch adds (ten) temporary coloring rules which will only live until Wireshark is
[obnox/wireshark/wip.git] / color_filters.h
index 056115df17c55c1760384cc340b4298d94bcb5da..e0851ac531e6d093508b99ad85efa49d3b8fc37a 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef  __COLOR_FILTERS_H__
 #define  __COLOR_FILTERS_H__
 
+#define TEMP_COLOR_PREFIX       "___tmp_color_filter___"
 /** @file
  *  Color filters.
  */
@@ -65,7 +66,13 @@ gboolean color_filters_used(void);
 void
 color_filters_enable(gboolean enable);
 
-
+/** Set the filter string of a temporary color filter
+ *
+ * @param filt_nr a number 1-10 pointing to a temporary color
+ * @param filter the new filter-string
+ */
+void
+color_filters_set_tmp(guint8 filt_nr, gchar *filter);
 
 /* Prime the epan_dissect_t with all the compiler
  * color filters of the current filter list.