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-tapi.c | |
parent | 6114714a5c3563140915a53b560200f3ca174b6c (diff) |
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-tapi.c')
-rw-r--r-- | packet-dcerpc-tapi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packet-dcerpc-tapi.c b/packet-dcerpc-tapi.c index da778f0daa..2b0df3e2e5 100644 --- a/packet-dcerpc-tapi.c +++ b/packet-dcerpc-tapi.c @@ -2,7 +2,7 @@ * Routines for DCERPC TAPI packet disassembly * Copyright 2002, Ronnie Sahlberg * - * $Id: packet-dcerpc-tapi.c,v 1.3 2002/08/28 21:00:11 jmayer Exp $ + * $Id: packet-dcerpc-tapi.c,v 1.4 2003/01/28 06:39:41 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -77,13 +77,13 @@ dissect_tapi_UNKNOWN_00_rqst(tvbuff_t *tvb, int offset, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_tapi_unknown_long, NULL); - offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, - dissect_ndr_nt_UNICODE_STRING_str, NDR_POINTER_REF, - "unknown string", hf_tapi_unknown_string, 0); + offset = dissect_ndr_str_pointer_item(tvb, offset, pinfo, tree, drep, + NDR_POINTER_REF, "unknown string", + hf_tapi_unknown_string); - offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, - dissect_ndr_nt_UNICODE_STRING_str, NDR_POINTER_REF, - "unknown string", hf_tapi_unknown_string, 0); + offset = dissect_ndr_str_pointer_item(tvb, offset, pinfo, tree, drep, + NDR_POINTER_REF, "unknown string", + hf_tapi_unknown_string); return offset; } @@ -143,7 +143,7 @@ dissect_tapi_UNKNOWN_01_rqst(tvbuff_t *tvb, int offset, offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, dissect_tapi_TYPE_1, NDR_POINTER_REF, - "unknown array", -1, 0); + "unknown array", -1); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_tapi_unknown_long, NULL); |