aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-reg.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-03 02:00:54 +0000
committerTim Potter <tpot@samba.org>2003-02-03 02:00:54 +0000
commit91c6b0c70b698c3a41cf9d4f9e5e38064bb3d387 (patch)
treeaa98d5ba6835ec09c675ee52823b26d018a2dee4 /packet-dcerpc-reg.c
parent48c7ab1f05343741dd0ed5eb237b98b7f45acf07 (diff)
Replace the confusing collection of Windows DCERPC string handling
functions with something a little less confusing. We now have two sets of functions to dissect strings: - dissect_ndr_wchar_array() which dissects NDR arrays of wide characters (uint32, uint32, uint32, buffer) - dissect_ndr_counted_string() which dissects a "counted string" (uint16, uint16, pointer to array of wchar) There are three contexts for dissecting counted strings: 1. "in-line" using dissect_ndr_counted_string() 2. as a callback to dissect_ndr_pointer() 3. as a callback to dissect_ndr_pointer_cb() Context 2 is used when you have a pointer to a counted string. Context 3 is when you wish to perform some special processing with the returned string. svn path=/trunk/; revision=7068
Diffstat (limited to 'packet-dcerpc-reg.c')
0 files changed, 0 insertions, 0 deletions