From ae20651d9a517ee3d37fa8b840b1c2b7bf5ceeac Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Mon, 23 Mar 2015 10:31:21 -0400 Subject: Overhaul WSP dissector. 1. Remove proto_tree_add_text (the reason I started the update) 2. Add expert info (mostly related to proto_tree_add_text, but since I was in the neighborhood...) 3. Replace "big functions macros" with "small macro" + real function (for big .o size savings) 4. Remove DebugLog macro (intent seems to duplicate basic functionality of a step-through debugger) 5. Replace HF_EMPTY (and comparible macros) with -1 6. Move header handler array to remove need for many forward declarations. Change-Id: Ic5467289aae7d54e78c1fd65f93358387d6139aa Reviewed-on: https://code.wireshark.org/review/7799 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- epan/dissectors/packet-wsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-wsp.h') diff --git a/epan/dissectors/packet-wsp.h b/epan/dissectors/packet-wsp.h index ae8613944f..67ff2b5925 100644 --- a/epan/dissectors/packet-wsp.h +++ b/epan/dissectors/packet-wsp.h @@ -47,7 +47,7 @@ WS_DLL_PUBLIC value_string_ext wsp_vals_status_ext; */ void add_post_data (proto_tree *, tvbuff_t *, guint, const char *, packet_info *); -guint32 add_content_type (proto_tree *tree, tvbuff_t *tvb, +guint32 add_content_type (proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, guint32 val_start, guint32 *well_known_content, const char **textual_content); -- cgit v1.2.3