1 | initial version |
In C, when you add the item, usually with proto_tree_add_item(...)
, then that returns a proto_item
that can be used in a call to proto_item_add_subtree(item, ...)
which returns a proto_tree
for your subtree which can be used in subsequent proto_tree_add_item
calls.
See section 1.5.2 of doc\README.dissector.