summaryrefslogtreecommitdiff
path: root/epan/column.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-22 22:47:19 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-22 22:47:19 +0000
commit51b26f95f3cb88a528f089096d8afeb2d81c2004 (patch)
treef4bed2fedbbbf26138ec196abe668d41572904f5 /epan/column.h
parent396d5b4c4c02ea062a144a65c1c644e624063f89 (diff)
downloadwireshark-51b26f95f3cb88a528f089096d8afeb2d81c2004.tar.gz
Improved custom columns with custom title.
Fixed a crash when adding an empty custom field. svn path=/trunk/; revision=24438
Diffstat (limited to 'epan/column.h')
-rw-r--r--epan/column.h2
1 files changed, 2 insertions, 0 deletions
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);