diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-21 17:08:35 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-21 17:08:35 +0000 |
commit | 9575052a655cdd3a7db5b5e446470b891151d575 (patch) | |
tree | 49bbe74d600ee57f1255c611bac591a6d19b6046 /doc | |
parent | 957ec1bf5a9a5ac9330b0f4d43327d96a3421595 (diff) |
From Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5603 :
Following the discussion on the dev mailing list about ett_ value in subtree
http://www.wireshark.org/lists/wireshark-dev/201101/msg00039.html
a small to update the Readme Developer Guide !
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35610 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index ba810d6d07..fdafef1c47 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -2074,6 +2074,12 @@ array of pointers to "gint" variables to hold the subtree type values to in your "register" routine, just as you register the protocol and the fields for that protocol. +The ett_ variables identify particular type of subtree so that if you expand +one of them, Wireshark keeps track of that and, when you click on +another packet, it automatically opens all subtrees of that type. +If you close one of them, all subtrees of that type will be closed when +you move to another packet. + There are several functions that the programmer can use to add either protocol or field labels to the proto_tree: |