diff options
author | Roland Knall <rknall@gmail.com> | 2022-06-28 14:56:06 +0200 |
---|---|---|
committer | Roland Knall <r.knall@moba.cc> | 2022-06-28 14:56:06 +0200 |
commit | c3b2cec3f29f0f42cde8e199d12fcb9e048a229f (patch) | |
tree | 53a4ad52abdf7bdc5f17d5cdb85d464738cf2c67 /file.h | |
parent | f210edeaf04c17da1e209518aae0e009e1164a73 (diff) |
Ui: Cleanup row number and select packet
Remove unneeded row number in capture file. The packet list is
the only object that should know the correct number, propagating
it further only complicates things. At the same time, rework
cf_select_packet to select the packet based on frame_data not on
the row (which can be unreliable).
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -615,9 +615,10 @@ gboolean cf_goto_framenum(capture_file *cf); * Select the packet in the given row. * * @param cf the capture file - * @param row the row to select + * @param frame the frame to be selected + * @param row the row the frame is currently residing to be selected */ -void cf_select_packet(capture_file *cf, int row); +void cf_select_packet(capture_file *cf, frame_data *frame); /** * Unselect all packets, if any. |