I've attached the patch to ethereal-0.10.0a which adds bitfield_string.[ch] to epan/. It updates the makefiles and plugin_api_list.c as well.
It does not update the plugins/X* files. I had trouble re-generating (or testing) those myself.
It also includes a small hack in util.c to force the new routines to be linked into the ethereal binary (which is necessary if the only use of these routines is in a plugin -- gcc otherwise drops the unused code).
And, finally, it adds a convenience macro to value_string.h which lets you create value_string arrays from enums with far less typing.
If there's anything I should do to make this patch easier to merge (or to improve bitfield_string), please let me know.
-P
%bitfield_string.patch
Description: application/applefile
bitfield_string.patch
Description: Binary data
_______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
