From 22760b2d2a065249b21b7cf4be892aba71827279 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 6 Nov 2013 14:31:29 +0000 Subject: Remove pinfo->private_data from DCERPC dissectors and instead have dcerpc_info* infomation be passed in as a function parameter. Bug 9387 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9387) All "generated" source was manually modified (with the power of search/replace), but I believe the "source input" files have been adjusted (checked into revs 53098 and 53099) to reflect the necessary changes (with possible whitespace formatting differences). The Microsoft compiler doesn't flag "unused function parameters", so I apologize in advance if I may have missed a few. The "dcerpc_info* di" parameter is used in almost every function. svn path=/trunk/; revision=53100 --- epan/dissectors/packet-gssapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-gssapi.c') diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c index 98293c4c8f..dd3848e8e8 100644 --- a/epan/dissectors/packet-gssapi.c +++ b/epan/dissectors/packet-gssapi.c @@ -604,7 +604,7 @@ proto_register_gssapi(void) static int wrap_dissect_gssapi(tvbuff_t *tvb, int offset, packet_info *pinfo, - proto_tree *tree, guint8 *drep _U_) + proto_tree *tree, dcerpc_info *di _U_, guint8 *drep _U_) { tvbuff_t *auth_tvb; @@ -617,7 +617,7 @@ wrap_dissect_gssapi(tvbuff_t *tvb, int offset, packet_info *pinfo, int wrap_dissect_gssapi_verf(tvbuff_t *tvb, int offset, packet_info *pinfo, - proto_tree *tree, guint8 *drep _U_) + proto_tree *tree, dcerpc_info *di _U_, guint8 *drep _U_) { tvbuff_t *auth_tvb; -- cgit v1.2.3