Wireshark-commits: [Wireshark-commits] master 9445403: Get rid of the per-capture_file wtap_rec and

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 05 Apr 2019 08:15:45 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9445403f9558901dc54c88754ff21795ea1803f3
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

9445403 by Guy Harris (guy@xxxxxxxxxxxx):

    Get rid of the per-capture_file wtap_rec and Buffer.
    
    Most code that reads from a capture_file already has its own wtap_rec
    and Buffer; change the remaining ones to do so as well.
    
    Change-Id: I9b7c136642bbb375848c37ebe23c9cdeffe830c3
    Reviewed-on: https://code.wireshark.org/review/32732
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  053cf16   ITS: Add CAM and DENM v1 dissection.
     add  9445403   Get rid of the per-capture_file wtap_rec and Buffer.


Summary of changes:
 cfile.h                             |   3 -
 file.c                              | 165 ++++++++++++++++++++----------------
 file.h                              |  15 +---
 ui/proto_hier_stats.c               |   2 +-
 ui/qt/address_editor_frame.cpp      |  15 +++-
 ui/qt/iax2_analysis_dialog.cpp      |  19 ++++-
 ui/qt/models/packet_list_record.cpp |   2 +-
 ui/qt/packet_dialog.cpp             |  21 +++--
 ui/qt/packet_dialog.h               |   2 +-
 ui/qt/packet_list.cpp               |   2 +-
 ui/qt/rtp_analysis_dialog.cpp       |  21 ++++-
 ui/qt/utils/frame_information.cpp   |   2 +-
 ui/tap-rlc-graph.c                  |  19 ++++-
 ui/tap-tcp-stream.c                 |  18 +++-
 14 files changed, 185 insertions(+), 121 deletions(-)