summaryrefslogtreecommitdiff
path: root/epan/proto.h
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2010-09-22 20:56:14 +0000
committerSake Blok <sake@euronet.nl>2010-09-22 20:56:14 +0000
commit7364bef1b3262a02a649c7375acf48076e170706 (patch)
treea9a6e294a01ccdc4d73332108c123f40afbc0fe6 /epan/proto.h
parent8e278e7f90f3b93e3f2760babf8eff08756cf965 (diff)
downloadwireshark-7364bef1b3262a02a649c7375acf48076e170706.tar.gz
When using a custom column, make it possible to select which occurrence to show if the field has multiple occurrences.
svn path=/trunk/; revision=34186
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index ee672a7555..19aff82ff7 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -1822,11 +1822,13 @@ proto_check_field_name(const gchar *field_name);
/** Check if given string is a valid field name
@param tree the tree to append this item to
@param field_id the field id used for custom column
+ @param occurrence the occurrence of the field used for custom column
@param result the buffer to fill with the field string
@param expr the filter expression
@param size the size of the string buffer */
const gchar *
proto_custom_set(proto_tree* tree, const int field_id,
+ gint occurrence,
gchar *result,
gchar *expr, const int size );