diff options
author | Tim Potter <tpot@samba.org> | 2003-02-03 02:00:54 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-03 02:00:54 +0000 |
commit | 91c6b0c70b698c3a41cf9d4f9e5e38064bb3d387 (patch) | |
tree | aa98d5ba6835ec09c675ee52823b26d018a2dee4 /packet-ipp.c | |
parent | 48c7ab1f05343741dd0ed5eb237b98b7f45acf07 (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-ipp.c')
0 files changed, 0 insertions, 0 deletions