diff options
author | Tim Potter <tpot@samba.org> | 2003-01-28 06:27:01 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-28 06:27:01 +0000 |
commit | 6114714a5c3563140915a53b560200f3ca174b6c (patch) | |
tree | 5897c0df17dd32c96634cfd5f1ad17079dbaef15 /packet-dcerpc-browser.c | |
parent | 2bccc6dcf0dfec508811daeb26e425de10b88736 (diff) | |
download | wireshark-6114714a5c3563140915a53b560200f3ca174b6c.tar.gz wireshark-6114714a5c3563140915a53b560200f3ca174b6c.tar.bz2 wireshark-6114714a5c3563140915a53b560200f3ca174b6c.zip |
Defined a useful callback function for dissect_ndr_pointer() which can
be used to help out in most DCERPC strings. The cb_str_postprocess()
function reads the callback_args and either appends the value of the
string to the COL_INFO field, appends it to the NDR pointer item, or
saves the string to dcv->private_data. Calling cb_str_postprocess()
with CB_STR_ITEM is the same as calling dissect_ndr_pointer() with
levels = 0.
Renamed some of the pointer dissection functions with a suffix of _cb
and created helpers of the original which call the _cb function with
NULL args. This should help minimise the amount of code changes in
the bulk of the DCERPC dissectors.
svn path=/trunk/; revision=7016
Diffstat (limited to 'packet-dcerpc-browser.c')
0 files changed, 0 insertions, 0 deletions