diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-02-20 09:01:50 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-02-20 09:01:50 +0000 |
commit | 5cc37cecc3be0da7cfef9c41c49f1e3cd0a88364 (patch) | |
tree | e68d2dbd90af7ffb56fac0adec209f8bd0c00438 /epan/dissectors/packet-dcerpc-nt.h | |
parent | 1e1a3c30728ec0e6feea6f8f804f8899c9ec6d1f (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20872 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.h')
-rw-r--r-- | epan/dissectors/packet-dcerpc-nt.h | 7 |
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, |