From 51b26f95f3cb88a528f089096d8afeb2d81c2004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Fri, 22 Feb 2008 22:47:19 +0000 Subject: Improved custom columns with custom title. Fixed a crash when adding an empty custom field. svn path=/trunk/; revision=24438 --- epan/column.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/column.h') diff --git a/epan/column.h b/epan/column.h index 43ec2aa581..78aea67d5b 100644 --- a/epan/column.h +++ b/epan/column.h @@ -32,6 +32,7 @@ extern "C" { typedef struct _fmt_data { gchar *title; gchar *fmt; + gchar *custom_field; } fmt_data; const gchar *col_format_to_string(gint); @@ -40,6 +41,7 @@ gint get_column_format(gint); void get_column_format_matches(gboolean *, gint); gint get_column_format_from_str(gchar *); gchar *get_column_title(gint); +gchar *get_column_custom_field(gint); const gchar *get_column_width_string(gint, gint); const char *get_column_longest_string(gint); gint get_column_char_width(gint format); -- cgit v1.2.1