http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40264
User: wmeier
Date: 2011/12/21 09:39 AM
Log:
A simplified version of tvbuffs:
- Essentially no changes from current dissector de facto tvbuff usage;
- Do away with 'usage_counts' and with 'used_in' GSLists;
- Manage tvb chains via a simple doubly linked list.
- API changes:
a. tvb_increment_usage_count() and tvb_decrement_usage_count() no
longer exist;
b. tvb_free_chain() can only be called for the 'top-level' (initial)
tvb of a chain) or for a tvb not in a chain.
c. tvb_free() now just calls tvb_free_chain() [should have no impact
on existing dissectors].
Directory: /trunk/epan/
Changes Path Action
+4 -6 tvbuff-int.h Modified
+87 -104 tvbuff.c Modified
+52 -45 tvbuff.h Modified