Ethereal

[ethereal-dev] Confused about subtrees
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: April 2000


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.


Powered by MHonArc 2.6.10