diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-08-04 20:41:43 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-08-04 20:41:43 +0000 |
commit | da85c3dfab63630c4370d8d4c9104d4a6c2550b2 (patch) | |
tree | 9c7ed9e7a6160402db328fe0c0b0169985991678 /gtk | |
parent | 774f288597cb3b098483a0826697292ef3da9e49 (diff) |
From Alexey Neyman :
This patch implements a function for dissecting bitfields with better control
over the resulting representation than the existing proto_tree_add_bitmask()
routine. This function will be used by reworked IPMI/ATCA dissector (bug 2048).
The function is described in README.developer. In short, the differences are as
follows:
- The new function does not require a hf_XXX field for the whole bitmask. When
the bitmask includes several unrelated fields, such hf_XXX field does not make
sense.
- The new function allows better control over the way the sub-item descriptions
are added to the top-level item. For example, proto_tree_add_bitmask() function
does not add non-enumerated integers, does not use true_false_string to display
boolean.
- The new function allows to specify "fallback" text for the top-level item
which is used if no items were added to the top-level item.
svn path=/trunk/; revision=25920
Diffstat (limited to 'gtk')
0 files changed, 0 insertions, 0 deletions