- new ptvcursor subtrees management functions :
authorSebastien Tandel <sebastien@tandel.be>
Fri, 30 Mar 2007 00:21:39 +0000 (00:21 -0000)
committerSebastien Tandel <sebastien@tandel.be>
Fri, 30 Mar 2007 00:21:39 +0000 (00:21 -0000)
commit0ca67aef30d49bf0d68dd375756d22404b6e98bd
tree87635b3a5b6c5609311e00933bf7c0b64ae66b72
parentc76ee5bc80713d7481c3c11b6a8adfe9b50e919b
- 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

svn path=/trunk/; revision=21276
doc/README.developer
epan/proto.c
epan/ptvcursor.h