32#define RECENT_KEY_CAPTURE_FILE "recent.capture_file"
35#define RECENT_KEY_DISPLAY_FILTER "recent.display_filter"
37#define RECENT_KEY_COL_WIDTH "column.width"
39#define RECENT_KEY_CAPTURE_FILTER "recent.capture_filter"
41#define RECENT_KEY_REMOTE_HOST "recent.remote_host"
53#define COLUMN_XALIGN_DEFAULT 0
54#define COLUMN_XALIGN_LEFT 'L'
55#define COLUMN_XALIGN_CENTER 'C'
56#define COLUMN_XALIGN_RIGHT 'R'
struct recent_settings_tag recent_settings_t
Persisted GUI state and preferences restored across Wireshark sessions.
void recent_remote_host_list_foreach(GFunc func, void *user_data)
Iterate over all items in the remote host list, calling a function for each member.
bool window_geom_load(const char *name, window_geometry_t *geom)
Load the desired geometry for this window from the geometry hashtable.
Definition recent.c:318
bytes_show_type
Selects the presentation format for payload data in the Follow Stream and Show Packet Bytes dialogs.
Definition recent.h:113
@ SHOW_ASCII_CONTROL
Definition recent.h:115
@ SHOW_IMAGE
Definition recent.h:120
@ SHOW_RUSTARRAY
Definition recent.h:123
@ SHOW_HTML
Definition recent.h:119
@ SHOW_JSON
Definition recent.h:121
void recent_set_column_width(int col, int width)
Set the column width for the given column.
Definition recent.c:1964
bool recent_read_static(char **rf_path_return, int *rf_errno_return)
Read recent settings file (static part).
Definition recent.c:1705
const char * window_splitter_load(const char *name)
Load the splitter state for a given interface.
Definition recent.c:351
struct _col_width_data col_width_data
Stores the display width and alignment for a single column.
int recent_set_arg(char *prefarg)
Given a -o command line string, parse it and set the recent value in question. Return an indication o...
Definition recent.c:1668
void window_splitter_save(const char *name, const char *splitter_state)
Save the splitter state for a given interface.
Definition recent.c:339
GList * recent_get_cfilter_list(const char *ifname)
Returns a list of recent capture filters.
Definition recent.c:497
void recent_set_column_xalign(int col, char xalign)
Set the column xalign for the given column.
Definition recent.c:2026
void recent_insert_column(int col)
Insert an entry in the recent column width setting for the given column, which should have been just ...
Definition recent.c:1910
void recent_set_column_format(int col, int format)
Set the column width for the given column.
int recent_get_remote_host_list_size(void)
Get the number of entries of the remote host list.
bytes_encoding_type
Character encoding used to render the ASCII side-panel in the Packet Bytes pane.
Definition recent.h:72
@ BYTES_ENC_FROM_PACKET
Definition recent.h:73
@ BYTES_ENC_EBCDIC
Definition recent.h:75
@ BYTES_ENC_ASCII
Definition recent.h:74
void recent_add_cfilter(const char *ifname, const char *s)
Add a capture filter to the global recent capture filter list or the recent capture filter list for a...
Definition recent.c:516
bool write_profile_recent(void)
Write profile recent settings file.
Definition recent.c:1054
bool recent_read_dynamic(char **rf_path_return, int *rf_errno_return)
Read recent settings file (dynamic part).
Definition recent.c:1864
bytes_decode_type
Secondary decode transformation applied to raw bytes before display in the Show Packet Bytes dialog.
Definition recent.h:142
@ DecodeAsPercentEncoding
Definition recent.h:147
@ DecodeAsHexDigits
Definition recent.h:146
@ DecodeAsCompressed
Definition recent.h:145
@ DecodeAsNone
Definition recent.h:143
@ DecodeAsROT13
Definition recent.h:149
@ DecodeAsBASE64
Definition recent.h:144
@ DecodeAsQuotedPrintable
Definition recent.h:148
int recent_get_column_width(int col)
Get the column width for the given column.
Definition recent.c:1939
void window_geom_save(const char *name, window_geometry_t *geom)
save the window and its current geometry into the geometry hashtable.
Definition recent.c:297
void recent_add_remote_host(char *host, struct remote_host *rh)
Add an entry to the remote_host_list.
struct remote_host * recent_get_remote_host(const char *host)
Get the value of an entry for a remote host from the remote host list.
search_char_set_type
Controls whether string searches match narrow (single-byte), wide (two-byte), or both character encod...
Definition recent.h:92
@ SEARCH_CHAR_SET_NARROW_AND_WIDE
Definition recent.h:93
@ SEARCH_CHAR_SET_WIDE
Definition recent.h:95
@ SEARCH_CHAR_SET_NARROW
Definition recent.h:94
void recent_free_remote_host_list(void)
Free all entries of the remote host list.
search_in_type
Selects which packet pane the Find Packet search operates on.
Definition recent.h:82
@ SEARCH_IN_PACKET_DETAILS
Definition recent.h:84
@ SEARCH_IN_PACKET_BYTES
Definition recent.h:85
@ SEARCH_IN_PACKET_LIST
Definition recent.h:83
char recent_get_column_xalign(int col)
Get the column xalign for the given column.
Definition recent.c:2006
follow_delta_type
Controls display of inter-segment timing deltas in the Follow Stream dialog.
Definition recent.h:132
@ FOLLOW_DELTA_ALL
Definition recent.h:135
@ FOLLOW_DELTA_NONE
Definition recent.h:133
@ FOLLOW_DELTA_TURN
Definition recent.h:134
void recent_init(void)
Initialize recent settings module (done at startup).
Definition recent.c:2048
void recent_remove_column(int col)
Remove an entry in the recent column width setting for the given column, which should have been just ...
Definition recent.c:1922
bytes_view_type
Numeric base used to render byte values in the Packet Bytes pane.
Definition recent.h:61
@ BYTES_OCT
Definition recent.h:65
@ BYTES_BITS
Definition recent.h:63
@ BYTES_DEC
Definition recent.h:64
@ BYTES_HEX
Definition recent.h:62
bool recent_read_profile_static(char **rf_path_return, int *rf_errno_return)
Read profile recent settings file (static part).
Definition recent.c:1769
void recent_cleanup(void)
Cleans up recent settings and frees allocated memory.
Definition recent.c:2054
void recent_free_column_width_info(recent_settings_t *rs)
Free the recent settings list of column width information.
Definition recent.c:244
bool write_recent(void)
Write recent_common settings file.
Definition recent.c:869
search_type_type
Specifies the matching method used by the Find Packet dialog.
Definition recent.h:102
@ SEARCH_TYPE_HEX_VALUE
Definition recent.h:104
@ SEARCH_TYPE_STRING
Definition recent.h:105
@ SEARCH_TYPE_DISPLAY_FILTER
Definition recent.h:103
@ SEARCH_TYPE_REGEX
Definition recent.h:106
Stores the display width and alignment for a single column.
Definition recent.h:46
int fmt
Definition recent.h:47
int width
Definition recent.h:48
char xalign
Definition recent.h:49
Persisted GUI state and preferences restored across Wireshark sessions.
Definition recent.h:156
int gui_zoom_level
Definition recent.h:179
bytes_show_type gui_follow_show
Definition recent.h:194
bool gui_welcome_page_sidebar_tips_sponsorship
Definition recent.h:244
bool gui_search_multiple_occurs
Definition recent.h:190
bool tree_view_show
Definition recent.h:163
bool gui_welcome_page_sidebar_tips_tips
Definition recent.h:245
char * gui_geometry_main
Definition recent.h:212
search_type_type gui_search_type
Definition recent.h:191
bytes_decode_type gui_show_bytes_decode
Definition recent.h:198
bool gui_geometry_leftalign_actions
Definition recent.h:207
GList * gui_additional_toolbars
Definition recent.h:232
bytes_show_type gui_show_bytes_show
Definition recent.h:199
char * gui_theme_name
Definition recent.h:256
ts_type gui_time_format
Definition recent.h:174
bool byte_view_show
Definition recent.h:164
int gui_geometry_main_y
Definition recent.h:203
bool gui_search_reverse_dir
Definition recent.h:189
bool gui_allow_hover_selection
Definition recent.h:183
char * gui_fileopen_remembered_dir
Definition recent.h:229
bool gui_geometry_main_maximized
Definition recent.h:206
bool packet_list_show
Definition recent.h:162
int gui_time_precision
Definition recent.h:175
int gui_geometry_main_height
Definition recent.h:205
int gui_geometry_main_width
Definition recent.h:204
GList * interface_toolbars
Definition recent.h:233
bool capture_auto_scroll
Definition recent.h:170
bool gui_welcome_page_sidebar_tips_visible
Definition recent.h:242
bool aggregation_view
Definition recent.h:171
bool filter_toolbar_show
Definition recent.h:160
bool gui_welcome_page_sidebar_learn_visible
Definition recent.h:241
GList * custom_colors
Definition recent.h:231
unsigned gui_welcome_page_sidebar_tips_interval
Definition recent.h:247
int gui_geometry_main_lower_pane
Definition recent.h:211
follow_delta_type gui_follow_delta
Definition recent.h:195
bool gui_welcome_page_sidebar_tips_slides_test
Definition recent.h:265
int gui_geometry_main_x
Definition recent.h:202
int gui_geometry_main_upper_pane
Definition recent.h:210
bool wireless_toolbar_show
Definition recent.h:161
GList * col_width_list
Definition recent.h:221
int gui_profile_switch_check_count
Definition recent.h:228
bool gui_rlc_use_pdus_from_mac
Definition recent.h:230
bool packet_diagram_show
Definition recent.h:165
bytes_encoding_type gui_bytes_encoding
Definition recent.h:181
bool gui_welcome_page_sidebar_tips_auto_advance
Definition recent.h:246
bool gui_tsgd_goodput_show
Definition recent.h:237
bytes_view_type gui_bytes_view
Definition recent.h:180
GList * conversation_tabs
Definition recent.h:222
GList * endpoint_tabs_columns
Definition recent.h:225
bool gui_welcome_page_sidebar_tips_events
Definition recent.h:243
GList * endpoint_tabs
Definition recent.h:224
char * gui_geometry_main_master_split
Definition recent.h:213
bool privs_warn_if_elevated
Definition recent.h:217
bool main_toolbar_show
Definition recent.h:159
bool gui_search_case_sensitive
Definition recent.h:188
bool statusbar_show
Definition recent.h:166
double gui_tsgd_ma_window_size
Definition recent.h:238
char * gui_geometry_main_extra_split
Definition recent.h:214
ts_seconds_type gui_seconds_format
Definition recent.h:176
GList * conversation_tabs_columns
Definition recent.h:223
int gui_color_scheme
Definition recent.h:264
bool packet_list_colorize
Definition recent.h:169
bool gui_packet_diagram_field_values
Definition recent.h:182
bool gui_tsgd_throughput_show
Definition recent.h:236
bool sys_warn_if_no_capture
Definition recent.h:218
search_in_type gui_search_in
Definition recent.h:186
search_char_set_type gui_search_char_set
Definition recent.h:187
ts_seconds_type
Controls how the seconds component of a timestamp is formatted for display.
Definition timestamp.h:60
ts_type
Format used to display packet timestamps in the summary packet list.
Definition timestamp.h:22
struct window_geometry_s window_geometry_t