diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-22 22:47:19 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-22 22:47:19 +0000 |
commit | 51b26f95f3cb88a528f089096d8afeb2d81c2004 (patch) | |
tree | f4bed2fedbbbf26138ec196abe668d41572904f5 /epan/column.h | |
parent | 396d5b4c4c02ea062a144a65c1c644e624063f89 (diff) | |
download | wireshark-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.h | 2 |
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); |