Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet_list_utils.h
Go to the documentation of this file.
1
10#ifndef __PACKET_LIST_UTILS_H__
11#define __PACKET_LIST_UTILS_H__
12
13#include <epan/cfile.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif /* __cplusplus */
18
27bool right_justify_column (int col, capture_file *cf);
28
37bool display_column_strings (int col, capture_file *cf);
38
47bool display_column_details (int col, capture_file *cf);
48
59extern void packet_list_recent_write_all(FILE *rf);
60
64extern void packet_list_clear(void);
65
71extern void packet_list_freeze(void);
72
78extern void packet_list_recreate_visible_rows(void);
79
86
92extern void packet_list_thaw(void);
93
103extern unsigned packet_list_append(column_info *cinfo, frame_data *fdata);
104
108extern void packet_list_queue_draw(void);
109
118extern bool packet_list_select_row_from_data(frame_data *fdata_needle);
119
128extern bool packet_list_select_finfo(field_info *fi);
129
135extern bool packet_list_multi_select_active(void);
136
137#ifdef __cplusplus
138}
139#endif /* __cplusplus */
140
141#endif /* __PACKET_LIST_UTILS_H__ */
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
bool packet_list_select_finfo(field_info *fi)
Select a field in the packet list based on field information.
Definition packet_list.cpp:143
void packet_list_clear(void)
Clears the current packet list.
Definition packet_list.cpp:158
bool display_column_strings(int col, capture_file *cf)
Check to see if a column's data can be displayed as strings.
Definition packet_list_utils.c:89
void packet_list_recreate_visible_rows(void)
Recreate the visible rows in the packet list.
Definition packet_list_model.cpp:73
void packet_list_queue_draw(void)
Queue a redraw of the packet list.
Definition packet_list.cpp:185
void packet_list_recent_write_all(FILE *rf)
The following methods have to be implemented by any class that whishes to represent a packet list.
Definition packet_list.cpp:192
bool display_column_details(int col, capture_file *cf)
Check to see if a column's data can be displayed as packet details.
Definition packet_list_utils.c:139
void packet_list_freeze(void)
Freeze the packet list.
Definition packet_list.cpp:166
bool packet_list_select_row_from_data(frame_data *fdata_needle)
Select a row in the packet list based on frame data.
Definition packet_list.cpp:102
void packet_list_thaw(void)
Thaw the packet list.
Definition packet_list.cpp:174
unsigned packet_list_append(column_info *cinfo, frame_data *fdata)
Recreates visible rows in the packet list.
Definition packet_list_model.cpp:61
bool packet_list_multi_select_active(void)
Check if multi-selection is active in the packet list.
Definition packet_list.cpp:200
void packet_list_need_recreate_visible_rows(void)
Indicates that the visible rows in the packet list need to be recreated.
Definition packet_list_model.cpp:80
bool right_justify_column(int col, capture_file *cf)
Check to see if a column should be right justified.
Definition packet_list_utils.c:21
Represents a capture file and its associated metadata.
Definition cfile.h:84
Definition column-info.h:59
Definition proto.h:817