Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-wbxml.c packet-text-media.c
obiot 2004/03/08 20:12:56 CST
Modified files:
. packet-wbxml.c packet-text-media.c
Log:
Redesigned the token map aggregation.
New simpler lists for both known registered WBXML public IDs and unknown
lists based on content type value. The latter have the possibility to add
a discriminator which facilitates a more correct/appropriate selection of
the token map in cases where more (backwards incompatible) versions exist.
Now the EXT_T tokens are correctly decoded, and a mapping function can be
assigned. This has been done in WML (existing code reused there) and in WV-CSP
(new functions looking up a value in a value_string based on the offset after
the EXT_T_0 token).
Add the textual WV-CSP media type to packet-text-media.c.
TODO - write the discriminators for WML, SyncML and WV-CSP. Add the code for
running the discriminators and possibly iterating over a list of mappings.
Revision Changes Path
1.30 +625 -449 ethereal/packet-wbxml.c
1.7 +3 -2 ethereal/packet-text-media.c