guy 2003/02/07 02:56:13 CST
Modified files:
. packet-dcerpc-mapi.c packet-dcerpc-nt.c
packet-dcerpc-nt.h
packet-dcerpc-spoolss.c packet-dcerpc.c
packet-dcerpc.h
Log:
Fix a typo in the multiple-include protection in "packet-dcerpc-nt.h".
Rename "dissect_ndr_element_array()" to "dissect_ndr_character_array()",
move it out of "packet-dcerpc-nt.c" to "packet-dcerpc.c", and have it
use the standard DCE RPC array max count/offset/count fields rather than
their own private versions of those fields. Give it an option to create
a subtree, and an argument to specify the field to use for the actual
data buffer, and export it.
Move the routines for handling arrays of "char" and "wchar" as strings
out of "packet-dcerpc-nt.c" to "packet-dcerpc.c".
Add a routine to handle an array of "char" as an opaque blob of bytes.
Use "dissect_ndr_character_array()" to dissect character strings in MAPI
(the strings in question are ASCII, not Unicode), and use the routine to
handle an array of "char" as an opaque blob of bytes to dissect
encrypted data (again, it's bytes, not 16-bit quantities). Show them as
encrypted data, not unknown data.
Use "dissect_ndr_character_array()" to dissect a form name in
"dissect_form_name()" in the SPOOLSS dissector.
Revision Changes Path
1.18 +16 -19 ethereal/packet-dcerpc-mapi.c
1.64 +2 -134 ethereal/packet-dcerpc-nt.c
1.40 +2 -14 ethereal/packet-dcerpc-nt.h
1.83 +4 -20 ethereal/packet-dcerpc-spoolss.c
1.101 +173 -1 ethereal/packet-dcerpc.c
1.27 +12 -2 ethereal/packet-dcerpc.h