wsgd ha scritto:
>  From proto.h :
> /** A protocol tree element. */
> typedef proto_node proto_tree;
> /** A protocol item element. */
> typedef proto_node proto_item;
>   
Wow.

 From my superficial knowledge of wireshark's internals I've always 
found it very strange that item and tree are two distinct "objects". 
What's a tree node if not the root of a (possibly empty) subtree?
I really can't figure out the reason for such a choice.

Back to the original issue, it seems that a text item created by 
ptvcursor_add_text_with_subtree() cannot be _legally_ changed.

Luca


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to