aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2007-02-20 09:01:50 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2007-02-20 09:01:50 +0000
commit83c66c05e9255959577c73c37f5d9754ef2c72b8 (patch)
treee68d2dbd90af7ffb56fac0adec209f8bd0c00438 /epan/dissectors/packet-dcerpc-nt.h
parent0dfc6a0bf7c20092353760be2a8956ed1894e961 (diff)
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
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.h')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.h7
1 files changed, 7 insertions, 0 deletions
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,