diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-01-21 17:08:35 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-01-21 17:08:35 +0000 |
commit | 4eb43096b14b75c0853519c5ecb76683cffb97a8 (patch) | |
tree | 49bbe74d600ee57f1255c611bac591a6d19b6046 /doc | |
parent | 4374c0b0b79c6dfb318f76310b7379f399376259 (diff) | |
download | wireshark-4eb43096b14b75c0853519c5ecb76683cffb97a8.tar.gz wireshark-4eb43096b14b75c0853519c5ecb76683cffb97a8.tar.bz2 wireshark-4eb43096b14b75c0853519c5ecb76683cffb97a8.zip |
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 !
svn path=/trunk/; revision=35610
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: |