Ethereal-dev: [ethereal-dev] Confused about subtrees

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 5 Apr 2000 13:18:44 +0200
Hi

I am a bit confused about creating subtrees.
If you start a new subtree for a protocol one does this
proto_PROT = proto_register_protocol()

and later
if (tree)
  PROTO_ti = proto_tree_add_item(...., proto_PROT,......tree)
  PROTO_tree = proto_item_add_subtree(..., PROTO_ti,.....)

How does one build subtrees within subtrees?

-- 
Andreas Sikkema
andreas.sikkema@xxxxxxxxxxx
"Standing barefoot in a river of clues, most people would 
         not get their toes wet." - Brian Kantor in a.s.r.