aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto_data.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-17p_XXX_proto_data: only allow the use of pinfo and file scopesPascal Quantin1-4/+12
Those are the only ones meaningful. Let's convert the buggy dissectors and add an assert to avoid the misuse of the pool parameter in the future Change-Id: I65f470b757f163f11a25cd352ffe168d1f8a86d3 Reviewed-on: https://code.wireshark.org/review/17748 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-02-07proto_data: Remove superfluous castsJoão Valverde1-5/+5
The casts should be to gpointer but are unnecessary. Change-Id: I27229750ec53138820cce30b6fcc083d3ae5bea1 Reviewed-on: https://code.wireshark.org/review/13810 Reviewed-by: João Valverde <j@v6e.pt>
2016-01-25Move the proto data stuff out of frame_data.[ch].Guy Harris1-0/+167
It's not tied to the frame_data structure any more, so it belongs by itself. Clean up some #includes while we're at it; in particular, frame_data.h doesn't use anything related to tvbuffs, so don't have it gratuitiously include tvbuff.h. Change-Id: Ic32922d4a3840bac47007c5d4c546b8842245e0c Reviewed-on: https://code.wireshark.org/review/13518 Reviewed-by: Guy Harris <guy@alum.mit.edu>