wireshark/epan/ftypes
Guy Harris 272502790b Add FT_STRINGZTRUNC.
FT_STRINGZPAD is for null-*padded* strings, where the field is in an
area of specified length, and, if the string is shorter than that
length, all bytes past the end of the string are NULs.

FT_STRINGZTRUNC is for null-*truncated* strings, where the field is in
an area of specified length and, if the string is shorter than that
length, there's a null character (which might be more than one byte, for
UCS-2, UTF-16, or UTF-32), and anything after that is not guaranteed to
have any particular value.

Use IS_FT_STRING() in some places rather than enumerating all the string
types, so that those places get automatically changed if the set of
string types changes.
2020-09-12 14:16:12 -07:00
..
.editorconfig
CMakeLists.txt
ftype-bytes.c
ftype-double.c
ftype-guid.c
ftype-ieee-11073-float.c
ftype-integer.c
ftype-ipv4.c
ftype-ipv6.c
ftype-none.c
ftype-pcre.c
ftype-protocol.c
ftype-string.c Add FT_STRINGZTRUNC. 2020-09-12 14:16:12 -07:00
ftype-time.c
ftypes-int.h
ftypes.c
ftypes.h Add FT_STRINGZTRUNC. 2020-09-12 14:16:12 -07:00