diff options
author | Michael Mann <mmann78@netscape.net> | 2013-05-03 02:43:43 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-05-03 02:43:43 +0000 |
commit | b54252624806cfafa97626482fa7f83acabc8daa (patch) | |
tree | ea01dd1f7c8d353e9a63e30663344b6020b7df23 /epan/dissectors/packet-ipmi.h | |
parent | f25ebae549d0f04bf8b1f112cf6b37b3d7ee9a5f (diff) |
Remove global packet_info* current_pinfo
svn path=/trunk/; revision=49143
Diffstat (limited to 'epan/dissectors/packet-ipmi.h')
-rw-r--r-- | epan/dissectors/packet-ipmi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ipmi.h b/epan/dissectors/packet-ipmi.h index c26902bdae..dbbc845600 100644 --- a/epan/dissectors/packet-ipmi.h +++ b/epan/dissectors/packet-ipmi.h @@ -72,7 +72,7 @@ struct ipmi_header { extern struct ipmi_header *ipmi_current_hdr; /* Sub-parser */ -typedef void (*ipmi_cmd_handler_t)(tvbuff_t *, proto_tree *); +typedef void (*ipmi_cmd_handler_t)(tvbuff_t *, packet_info *, proto_tree *); /* IPMI command structure. */ typedef struct { @@ -108,7 +108,7 @@ 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, proto_tree *tree); +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 */ @@ -177,7 +177,7 @@ typedef struct { } ipmi_dissect_format_t; int ipmi_guess_dissect_flags(tvbuff_t *tvb); -void ipmi_do_dissect(tvbuff_t *tvb, proto_tree *tree, ipmi_dissect_format_t *dfmt); +void ipmi_do_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, ipmi_dissect_format_t *dfmt); struct ipmi_header *ipmi_sendmsg_getheaders(struct ipmi_header *base, void *arg, guint i); int ipmi_sendmsg_whichresponse(struct ipmi_header *hdr, struct ipmi_reqresp *rr); |