Ethereal-dev: [Ethereal-dev] Enhancement request: better bit fields handling

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Yaniv Kaul <ykaul@xxxxxxxxxxxx>
Date: Mon, 08 Mar 2004 19:03:03 +0200
It's a lot of work using these days FT_BOOLEAN.
If it could just use some array that would look something like:
static const bitvalues[] {
   {bitmask, 'true string', 'false string'},
   {bitmask2, 'true string2', 'false string2'},
...
};

It would make so many dissectors smaller (h.245, for example).