diff options
author | Tim Potter <tpot@samba.org> | 2003-01-28 06:39:41 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-28 06:39:41 +0000 |
commit | 1d6acba45c87ca6a0ff402f6dbe2493c3d145f41 (patch) | |
tree | 61210257b47aa160f915efa7d7d343201eab62ae /packet-dcerpc-reg.c | |
parent | 6114714a5c3563140915a53b560200f3ca174b6c (diff) | |
download | wireshark-1d6acba45c87ca6a0ff402f6dbe2493c3d145f41.tar.gz wireshark-1d6acba45c87ca6a0ff402f6dbe2493c3d145f41.tar.bz2 wireshark-1d6acba45c87ca6a0ff402f6dbe2493c3d145f41.zip |
Convert dissector to callback based version of dissect_ndr_pointer().
Strings that used to call with levels != -1 should call the
callback helper which will append the string to the pointer item.
svn path=/trunk/; revision=7017
Diffstat (limited to 'packet-dcerpc-reg.c')
-rw-r--r-- | packet-dcerpc-reg.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packet-dcerpc-reg.c b/packet-dcerpc-reg.c index 79da7c69c5..be18b6e8cd 100644 --- a/packet-dcerpc-reg.c +++ b/packet-dcerpc-reg.c @@ -1,8 +1,8 @@ /* packet-dcerpc-reg.c * Routines for SMB \PIPE\winreg packet disassembly - * Copyright 2001, 2002 Tim Potter <tpot@samba.org> + * Copyright 2001-2003 Tim Potter <tpot@samba.org> * - * $Id: packet-dcerpc-reg.c,v 1.12 2002/08/29 19:05:40 guy Exp $ + * $Id: packet-dcerpc-reg.c,v 1.13 2003/01/28 06:39:40 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -107,7 +107,7 @@ RegOpenHKLM_q(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_ndr_pointer( tvb, offset, pinfo, tree, drep, dissect_open_data, - NDR_POINTER_UNIQUE, "Unknown", -1, 0); + NDR_POINTER_UNIQUE, "Unknown", -1); dcerpc_smb_check_long_frame(tvb, offset, pinfo, tree); @@ -162,7 +162,7 @@ RegOpenHKU_q(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_ndr_pointer( tvb, offset, pinfo, tree, drep, dissect_open_data, - NDR_POINTER_UNIQUE, "Unknown", -1, 0); + NDR_POINTER_UNIQUE, "Unknown", -1); dcerpc_smb_check_long_frame(tvb, offset, pinfo, tree); @@ -217,7 +217,7 @@ RegOpenHKCR_q(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_ndr_pointer( tvb, offset, pinfo, tree, drep, dissect_open_data, - NDR_POINTER_UNIQUE, "Unknown", -1, 0); + NDR_POINTER_UNIQUE, "Unknown", -1); dcerpc_smb_check_long_frame(tvb, offset, pinfo, tree); @@ -325,7 +325,7 @@ RegQueryKey_q(tvbuff_t *tvb, int offset, packet_info *pinfo, hf_hnd, NULL, FALSE, FALSE); offset = dissect_ndr_nt_UNICODE_STRING( - tvb, offset, pinfo, tree, drep, hf_querykey_class, 0); + tvb, offset, pinfo, tree, drep, hf_querykey_class); dcerpc_smb_check_long_frame(tvb, offset, pinfo, tree); @@ -346,7 +346,7 @@ RegQueryKey_r(tvbuff_t *tvb, int offset, packet_info *pinfo, /* Parse packet */ offset = dissect_ndr_nt_UNICODE_STRING( - tvb, offset, pinfo, tree, drep, hf_querykey_class, 0); + tvb, offset, pinfo, tree, drep, hf_querykey_class); offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, drep, @@ -409,7 +409,7 @@ RegOpenEntry_q(tvbuff_t *tvb, int offset, packet_info *pinfo, hf_hnd, NULL, FALSE, FALSE); offset = dissect_ndr_nt_UNICODE_STRING( - tvb, offset, pinfo, tree, drep, hf_querykey_class, 0); + tvb, offset, pinfo, tree, drep, hf_querykey_class); offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, drep, |