aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-08-25 21:10:35 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-08-25 21:10:35 +0000
commit32e7cddf70a0a3f30402013e5370d5036e83b7de (patch)
tree55006bf7e88e207a2ac93cb0167ee748b5894af5 /epan/proto.h
parent4968b876cd00feb8828bd597ea4fc5c3185e9d27 (diff)
From Didier Gautheron:
move custom col set from proto_tree_set_xxx() to epan_dissect_fill_in_columns(). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3930 I'v added the new functions to the .h files. svn path=/trunk/; revision=29551
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 20c117d2da..f7ed7b542e 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -1643,6 +1643,17 @@ proto_tree_add_bits_ret_val(proto_tree *tree, int hf_index, tvbuff_t *tvb, gint
extern guchar
proto_check_field_name(const gchar *field_name);
+
+/** Check if given string is a valid field name
+ @param field the field name used for custom column
+ @param result the buffer to fill with the field string
+ @param expr the filter expression
+ @param aize the size of the string buffer */
+const gchar *
+proto_custom_set(proto_tree* tree, const gchar *field,
+ gchar *result,
+ gchar *expr, int size )
+
#ifdef __cplusplus
}
#endif /* __cplusplus */