https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11952

--- Comment #5 from Michael Mann <mman...@netscape.net> ---
(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.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to