diff options
author | Michael Mann <mmann78@netscape.net> | 2014-08-09 13:43:44 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-08-10 21:39:20 +0000 |
commit | 3635d7bed70aaf14e8172654f2b40be318e7dbfe (patch) | |
tree | 4b0fce1dba327df9a24b4ddc267a83375c817683 /epan/dissectors/packet-ipmi.h | |
parent | 18346c84778019fe6eee6906758daa120f84d5d0 (diff) |
Eliminate proto_tree_add_text from some dissectors.
Other minor cleanup while in the neighborhood.
Change-Id: Ib76f4a9f89b5933425760af0a980c6a549031b8f
Reviewed-on: https://code.wireshark.org/review/3537
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ipmi.h')
-rw-r--r-- | epan/dissectors/packet-ipmi.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ipmi.h b/epan/dissectors/packet-ipmi.h index a0f9233a05..bf0f886681 100644 --- a/epan/dissectors/packet-ipmi.h +++ b/epan/dissectors/packet-ipmi.h @@ -123,16 +123,13 @@ typedef struct ipmi_netfn_handler { guint32 cmdtablen; } ipmi_netfn_t; -/* Handy wrapper around decode_bitfield_value() */ -char *ipmi_dcd8(guint32 val, guint32 mask); - /* Stub parser. Use this to substitute for not-yet-written subparsers; NULL in command table means 'no custom data in this request/response' */ void ipmi_notimpl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); #define IPMI_TBD ipmi_notimpl, ipmi_notimpl /* Add a Type/Length field to tree */ -void ipmi_add_typelen(proto_tree *tree, const char *desc, tvbuff_t *tvb, +void ipmi_add_typelen(proto_tree *tree, int hf_string, int hf_type, int hf_length, tvbuff_t *tvb, guint offs, gboolean is_fru); /* Add Timestamp in IPMI format */ |