Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/ftypes ftype-bytes.c ftype-double.c fty
gram 2003/02/07 22:22:39 CST
Modified files:
epan/ftypes ftype-bytes.c ftype-double.c
ftype-integer.c ftype-ipv4.c ftype-none.c
ftype-string.c ftype-time.c
ftype-tvbuff.c ftypes-int.h ftypes.c
ftypes.h
Log:
Provide a way for ftype modules to provide a string representation
of their value. Provide such a method for FT_BYTES, FT_UINT_BYTES,
and FT_ETHER. Have proto_alloc_dfilter_string() use the new methods.
This is part of a movement of ftype-related code out of proto.c and
into the ftype code. The immediate effect is that generated display
filters for long byte sequences don't incorrectly have trailing periods
("...") to indicate continuation.
Revision Changes Path
1.14 +105 -59 ethereal/epan/ftypes/ftype-bytes.c
1.8 +5 -1 ethereal/epan/ftypes/ftype-double.c
1.12 +23 -1 ethereal/epan/ftypes/ftype-integer.c
1.10 +3 -1 ethereal/epan/ftypes/ftype-ipv4.c
1.5 +3 -1 ethereal/epan/ftypes/ftype-none.c
1.8 +7 -1 ethereal/epan/ftypes/ftype-string.c
1.18 +5 -1 ethereal/epan/ftypes/ftype-time.c
1.8 +3 -1 ethereal/epan/ftypes/ftype-tvbuff.c
1.7 +5 -1 ethereal/epan/ftypes/ftypes-int.h
1.8 +15 -1 ethereal/epan/ftypes/ftypes.c
1.16 +7 -1 ethereal/epan/ftypes/ftypes.h