diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-12-18 21:36:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-12-18 21:36:15 +0000 |
commit | 4c4af5415f935a2fef931cb906c36f46d1f1b8aa (patch) | |
tree | cae0dd94beabace42fcf92a94de89d513155074c /tools/checkAPIs.pl | |
parent | fe7e1783f761f12f287f534a1120bac4c5886381 (diff) |
Use FT_STRING for string-valued fields.
Have RDP_FI_STRING set for all string-valued fields, with:
RDP_FI_UNICODE set if the string is always "Unicode" (assumed to
be UTF-16-encoded);
RDP_FI_ANSI set if the string is always "ANSI" (we should try to
use the code page indication);
neither set if the string is "Unicode" or "ANSI" depending on
the INFO_UNICODE flag in the packet (the only strings that work
that way are in TS_INFO_PACKET or TS_EXTENDED_INFO_PACKET
packets, which also have the flags field with INFO_UNICODE).
Use proto_tree_add_item() to add the string items.
While we're at it, pull the code to get conversation data, creating it
if necessary, into a routine.
svn path=/trunk/; revision=54235
Diffstat (limited to 'tools/checkAPIs.pl')
0 files changed, 0 insertions, 0 deletions