aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsp.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-03-23 10:31:21 -0400
committerAnders Broman <a.broman58@gmail.com>2015-03-24 05:01:29 +0000
commitae20651d9a517ee3d37fa8b840b1c2b7bf5ceeac (patch)
tree0ce9b89b3f0091e8cd2fca020d23b18d6678d962 /epan/dissectors/packet-wsp.h
parenta6fc6aa0b4efc1a1c3d7a2e3b5189e888fb6ccc2 (diff)
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 <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-wsp.h')
-rw-r--r--epan/dissectors/packet-wsp.h2
1 files changed, 1 insertions, 1 deletions
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);