On Feb 27, 2007, at 5:05 PM, Stephen Fisher wrote:

> You would typically use proto_tree_add_item() and define the bitmask  
> as
> part of the hf[] field registration.

Unfortunately, that doesn't handle the "Generator 1"/"Generator 2"/...  
issue.

It might be useful to add new APIs that take an array index as an  
argument, and that add the array index value after the field name in  
the display representation of the item.  (I think we may have  
discussed the issue of arrays earlier; I'll look for that discussion  
later.)
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to