diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-02-25 01:47:43 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-02-25 01:47:43 +0000 |
commit | 470e92125ebf72757eca9811f1f3357b0a4df8bf (patch) | |
tree | 20c41debd86ac60834c1e89b15d9d4d87c5c10f0 /epan | |
parent | aa3d3793b70531c0fbd9d30a819267dcbaefc9f3 (diff) |
move the defines for PIDL_POLHND_{OPEN|CLOSE} to packet-dcerpc.h
also change their values to use the top order bits of an uint32 instead of the least significant ones
svn path=/trunk/; revision=20919
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-dcerpc-nt.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc.h | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h index 8ca85e5d53..bc64b3e9f0 100644 --- a/epan/dissectors/packet-dcerpc-nt.h +++ b/epan/dissectors/packet-dcerpc-nt.h @@ -190,8 +190,6 @@ 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, diff --git a/epan/dissectors/packet-dcerpc.h b/epan/dissectors/packet-dcerpc.h index 54d549c57d..c8e797842f 100644 --- a/epan/dissectors/packet-dcerpc.h +++ b/epan/dissectors/packet-dcerpc.h @@ -421,4 +421,15 @@ dcerpc_get_transport_salt (packet_info *pinfo); void init_ndr_pointer_list(packet_info *pinfo); + + +/* These defines are used in the PIDL conformance files when using + * the PARAM_VALUE directive. + */ +/* Policy handle tracking. Describes in which function a handle is + * opened/closed. See "winreg.cnf" for example. + */ +#define PIDL_POLHND_OPEN 0x80000000 +#define PIDL_POLHND_CLOSE 0x40000000 + #endif /* packet-dcerpc.h */ |