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-windows-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan/dissectors/packet-windows-common.h') diff --git a/epan/dissectors/packet-windows-common.h b/epan/dissectors/packet-windows-common.h index e7aade4d7e..74b02e0dbb 100644 --- a/epan/dissectors/packet-windows-common.h +++ b/epan/dissectors/packet-windows-common.h @@ -26,6 +26,7 @@ #define __PACKET_WINDOWS_COMMON_H__ #include "ws_symbol_export.h" +#include "packet-dcerpc.h" /* Win32 errors. * These defines specify the WERR error codes often encountered in ms DCE/RPC @@ -295,7 +296,7 @@ struct access_mask_info { int dissect_nt_access_mask(tvbuff_t *tvb, gint offset, packet_info *pinfo, - proto_tree *tree, guint8 *drep, int hfindex, + proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, struct access_mask_info *ami, guint32 *perms); -- cgit v1.2.3