Wireshark-commits: [Wireshark-commits] rev 21276: /trunk/ /trunk/doc/: README.developer /trunk/epan

Date: Fri, 30 Mar 2007 00:21:40 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21276

User: standel
Date: 2007/03/30 12:21 AM

Log:
 - new ptvcursor subtrees management functions :
   * ptvcursor_push_subtree(), ptvcursor_pop_subtree() for pushing/popping
     subtrees. Multiple levels of subtrees (256 max.), allocation per 8 levels.
   * Two new functions creating an item in the tree and pushing a subtree at the
     same time. These two functions accept an undefined length
     (SUBTREE_UNDEFINED_LENGTH). The length of the item is set at the next pop.
         1) ptvcursor_add_with_subtree
 	2) ptvcursor_add_text_with_subtree
 - get rid of potential memory leaks with g_new in ptvcursor_new().
 
 - Documentation of the new ptvcursor functions in README.developer

Directory: /trunk/doc/
  Changes    Path                Action
  +39 -0     README.developer    Modified

Directory: /trunk/epan/
  Changes    Path           Action
  +143 -3    proto.c        Modified
  +30 -0     ptvcursor.h    Modified