Wireshark-commits: [Wireshark-commits] master 89f339a: Hava a routine to read the currently-selecte
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 15 Apr 2019 05:54:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=89f339afa21606427b87d98d20f5e49cb4189352
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

89f339a by Guy Harris (guy@xxxxxxxxxxxx):

    Hava a routine to read the currently-selected frome.
    
    Have cf_read_current_record() take a capture_file as an argument and
    read, into its wtap_rec and Buffer for the currently-selected frame,
    information for the currently-selected frame.
    
    Rename cf_read_record_r() to cf_read_record().
    
    That gives us 1) a routine that reads the currently-selected frame into
    the wtap_rec and Buffer for the currently-selected frame and 2) a
    routine that reads an arbitrary frame into the wtap_rec and Buffer
    supplied to it.  If you *want* the currently-selected record, use the
    former, otherwise use the latter.
    
    Change-Id: If6bd5915dd5bc18334d7b89859822a19234153a4
    Reviewed-on: https://code.wireshark.org/review/32858
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  75a6897   Qt: Do not pass empty values for extcap boolflags
     add  89f339a   Hava a routine to read the currently-selected frome.


Summary of changes:
 file.c                              | 30 +++++++++++++++---------------
 file.h                              |  9 ++++-----
 ui/proto_hier_stats.c               |  2 +-
 ui/qt/address_editor_frame.cpp      |  2 +-
 ui/qt/iax2_analysis_dialog.cpp      |  4 ++--
 ui/qt/models/packet_list_record.cpp |  2 +-
 ui/qt/packet_dialog.cpp             |  2 +-
 ui/qt/packet_list.cpp               |  2 +-
 ui/qt/rtp_analysis_dialog.cpp       |  4 ++--
 ui/qt/utils/frame_information.cpp   |  2 +-
 ui/tap-rlc-graph.c                  |  6 +++---
 ui/tap-tcp-stream.c                 |  5 ++---
 12 files changed, 34 insertions(+), 36 deletions(-)