Wireshark-bugs: [Wireshark-bugs] [Bug 11952] Create API to more easily have fields copied to hig
Date: Sun, 04 Dec 2016 01:02:17 +0000

Comment # 5 on bug 11952 from
(stupid tab button.  Continuing...)

enum field_data {
PI_FIELD_COMPLETE, //Show field name and value
PI_FIELD_VALUE, //Show just field value
PI_FIELD_VS_ONLY //Show just field value_string
(and I'm sure we could come up with a few other categories)

What I want to be able to do with proto_item_append_field is "lazy processing"
and only populate the field/text value when it needs to be there, just like
proto_tree_add_item (and friends).  I think the internals are there to do it, I
just haven't figured out how. 
proto_item_append_text has to do more processing when it's called and can't
offload until later.  That's what I want the big benefit of
proto_item_append_field to be.


You are receiving this mail because:
  • You are watching all bug changes.