wireshark/ui/qt/utils
Guy Harris 89f339afa2 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@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-04-15 05:54:41 +00:00
..
color_utils.cpp Qt: Fix our ColorUtils::themeIsDark comparison. 2019-03-22 05:19:27 +00:00
color_utils.h Qt: Fix our ColorUtils::themeIsDark comparison. 2019-03-22 05:19:27 +00:00
data_printer.cpp Qt: Fix copy ASCII characters from ByteView 2019-01-08 16:21:41 +00:00
data_printer.h Qt: Fix copy ASCII characters from ByteView 2019-01-08 16:21:41 +00:00
field_information.cpp Qt: Add null check for finfo and hfinfo 2018-09-07 08:33:51 +00:00
field_information.h replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
frame_information.cpp Hava a routine to read the currently-selected frome. 2019-04-15 05:54:41 +00:00
frame_information.h Qt/FrameInformation: read packet record in private buffer 2018-09-30 16:35:05 +00:00
idata_printable.h replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
proto_node.cpp epan: Convert our PROTO_ITEM_ macros to inline functions. 2019-04-04 04:03:38 +00:00
proto_node.h replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
qt_ui_utils.cpp qt_ui_utils: fix issue found by PVS Studio (V519) 2018-05-17 04:25:42 +00:00
qt_ui_utils.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
stock_icon.cpp Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
stock_icon.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
tango_colors.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
variant_pointer.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
wireshark_mime_data.cpp Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
wireshark_mime_data.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00