aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-26 11:32:43 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-26 11:32:43 +0000
commit2b8ac21d60eb2fda6cc8aa298f7a40db9281d363 (patch)
treeb4f98a60345a2d9fef0a15faf0b125f5908d4fe2 /color_filters.h
parented3ecc443b2bca8fbe139045764c55dd24a53e81 (diff)
move some color_filter related things from file.c to color_filters.c
svn path=/trunk/; revision=13920
Diffstat (limited to 'color_filters.h')
-rw-r--r--color_filters.h15
1 files changed, 15 insertions, 0 deletions
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