From 83c66c05e9255959577c73c37f5d9754ef2c72b8 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 20 Feb 2007 09:01:50 +0000 Subject: add a PIDL specific helper for managing dissection of policy handles. let this helper take a parameter to describe how the policy handle should be managed (is this an open, close ?) to improve policy handle tracking. (centralizing to a single function of code makes other changes easier) create defines to indicate OPEN/CLOSE and use them as a start/test in the winreg conformance file. svn path=/trunk/; revision=20872 --- epan/dissectors/packet-dcerpc-nt.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'epan/dissectors/packet-dcerpc-nt.h') diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h index adb85c8d39..8ca85e5d53 100644 --- a/epan/dissectors/packet-dcerpc-nt.h +++ b/epan/dissectors/packet-dcerpc-nt.h @@ -190,6 +190,13 @@ dissect_nt_policy_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo, e_ctx_hnd *pdata, proto_item **pitem, gboolean is_open, gboolean is_close); +#define PIDL_POLHND_OPEN 0x00000001 +#define PIDL_POLHND_CLOSE 0x00000002 +int +PIDL_dissect_policy_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo, + proto_tree *tree, guint8 *drep, int hfindex, + guint32 param); + int dissect_nt_guid_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hfindex, -- cgit v1.2.3