aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column_info.h
diff options
context:
space:
mode:
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-09-22 20:56:14 +0000
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-09-22 20:56:14 +0000
commit2652efb4017270bd5400b5d6b712d4fd41a4afb7 (patch)
treea9a6e294a01ccdc4d73332108c123f40afbc0fe6 /epan/column_info.h
parent7452e6e5faecb4da5bd3a12c5be486a4c5494ad9 (diff)
When using a custom column, make it possible to select which occurrence to show if the field has multiple occurrences.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34186 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/column_info.h')
-rw-r--r--epan/column_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/column_info.h b/epan/column_info.h
index 91489c113a..bce6473417 100644
--- a/epan/column_info.h
+++ b/epan/column_info.h
@@ -44,7 +44,7 @@ typedef struct {
gchar **col_expr_val; /**< Value for filter expression */
} col_expr_t;
-/** Coulmn info */
+/** Column info */
typedef struct _column_info {
gint num_cols; /**< Number of columns */
gint *col_fmt; /**< Format of column */
@@ -53,6 +53,7 @@ typedef struct _column_info {
gint *col_last; /**< Last column number with a given format */
gchar **col_title; /**< Column titles */
gchar **col_custom_field; /**< Custom column field */
+ gint *col_custom_occurrence;/**< Custom column field id*/
gint *col_custom_field_id; /**< Custom column field id*/
struct _dfilter_t **col_custom_dfilter; /**< Compiled custom column field */
const gchar **col_data; /**< Column data */