From 2b8ac21d60eb2fda6cc8aa298f7a40db9281d363 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Sat, 26 Mar 2005 11:32:43 +0000 Subject: move some color_filter related things from file.c to color_filters.c svn path=/trunk/; revision=13920 --- color_filters.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'color_filters.h') diff --git a/color_filters.h b/color_filters.h index 5915e8f4f5..097c0757c5 100644 --- a/color_filters.h +++ b/color_filters.h @@ -78,6 +78,21 @@ 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); + +/** 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 -- cgit v1.2.3