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"
49#define COLUMN_XALIGN_DEFAULT 0
50#define COLUMN_XALIGN_LEFT 'L'
51#define COLUMN_XALIGN_CENTER 'C'
52#define COLUMN_XALIGN_RIGHT 'R'
62 BYTES_ENC_FROM_PACKET,
68 SEARCH_IN_PACKET_LIST,
69 SEARCH_IN_PACKET_DETAILS,
70 SEARCH_IN_PACKET_BYTES
74 SEARCH_CHAR_SET_NARROW_AND_WIDE,
75 SEARCH_CHAR_SET_NARROW,
77} search_char_set_type;
80 SEARCH_TYPE_DISPLAY_FILTER,
81 SEARCH_TYPE_HEX_VALUE,
113 DecodeAsPercentEncoding,
114 DecodeAsQuotedPrintable,
120 bool main_toolbar_show;
121 bool filter_toolbar_show;
122 bool wireless_toolbar_show;
123 bool packet_list_show;
126 bool packet_diagram_show;
128 bool packet_list_colorize;
129 bool capture_auto_scroll;
130 bool aggregation_view;
131 ts_type gui_time_format;
132 int gui_time_precision;
133 ts_seconds_type gui_seconds_format;
135 bytes_view_type gui_bytes_view;
136 bytes_encoding_type gui_bytes_encoding;
137 bool gui_packet_diagram_field_values;
138 bool gui_allow_hover_selection;
140 search_in_type gui_search_in;
141 search_char_set_type gui_search_char_set;
142 bool gui_search_case_sensitive;
143 bool gui_search_reverse_dir;
144 bool gui_search_multiple_occurs;
145 search_type_type gui_search_type;
146 bytes_show_type gui_follow_show;
147 follow_delta_type gui_follow_delta;
148 bytes_decode_type gui_show_bytes_decode;
149 bytes_show_type gui_show_bytes_show;
151 int gui_geometry_main_x;
152 int gui_geometry_main_y;
153 int gui_geometry_main_width;
154 int gui_geometry_main_height;
156 bool gui_geometry_main_maximized;
157 bool gui_geometry_leftalign_actions;
159 int gui_geometry_main_upper_pane;
160 int gui_geometry_main_lower_pane;
161 char *gui_geometry_main;
162 char *gui_geometry_main_master_split;
163 char *gui_geometry_main_extra_split;
164 bool privs_warn_if_elevated;
165 bool sys_warn_if_no_capture;
166 GList *col_width_list;
167 GList *conversation_tabs;
168 GList *conversation_tabs_columns;
169 GList *endpoint_tabs;
170 GList *endpoint_tabs_columns;
171 int gui_profile_switch_check_count;
172 char *gui_fileopen_remembered_dir;
173 bool gui_rlc_use_pdus_from_mac;
174 GList *custom_colors;
175 GList *gui_additional_toolbars;
176 GList *interface_toolbars;
178 bool gui_tsgd_throughput_show;
179 bool gui_tsgd_goodput_show;
180 double gui_tsgd_ma_window_size;
182 bool gui_welcome_page_sidebar_learn_visible;
183 bool gui_welcome_page_sidebar_tips_visible;
184 bool gui_welcome_page_sidebar_tips_events;
185 bool gui_welcome_page_sidebar_tips_sponsorship;
186 bool gui_welcome_page_sidebar_tips_tips;
187 unsigned gui_welcome_page_sidebar_tips_interval;
struct recent_settings_tag recent_settings_t
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:304
void recent_set_column_width(int col, int width)
Set the column width for the given column.
Definition recent.c:1925
bool recent_read_static(char **rf_path_return, int *rf_errno_return)
Definition recent.c:1659
const char * window_splitter_load(const char *name)
Load the splitter state for a given interface.
Definition recent.c:337
int recent_set_arg(char *prefarg)
Definition recent.c:1622
void window_splitter_save(const char *name, const char *splitter_state)
Save the splitter state for a given interface.
Definition recent.c:325
GList * recent_get_cfilter_list(const char *ifname)
Returns a list of recent capture filters.
Definition recent.c:483
void recent_set_column_xalign(int col, char xalign)
Set the column xalign for the given column.
Definition recent.c:1967
void recent_insert_column(int col)
Definition recent.c:1877
int recent_get_remote_host_list_size(void)
Get the number of entries of the remote host list.
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:502
bool write_profile_recent(void)
Definition recent.c:1024
bool recent_read_dynamic(char **rf_path_return, int *rf_errno_return)
Read recent settings file (dynamic part).
Definition recent.c:1831
int recent_get_column_width(int col)
Get the column width for the given column.
Definition recent.c:1905
void window_geom_save(const char *name, window_geometry_t *geom)
Save the geometry of a window.
Definition recent.c:284
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.
void recent_free_remote_host_list(void)
Free all entries of the remote host list.
char recent_get_column_xalign(int col)
Get the column xalign for the given column.
Definition recent.c:1947
void recent_init(void)
Definition recent.c:1989
void recent_remove_column(int col)
Definition recent.c:1888
recent_settings_t recent
Definition recent.c:107
bool recent_read_profile_static(char **rf_path_return, int *rf_errno_return)
Read profile recent settings file (static part).
Definition recent.c:1719
void recent_cleanup(void)
Definition recent.c:1995
void recent_free_column_width_info(recent_settings_t *rs)
Free the recent settings list of column width information.
Definition recent.c:231
bool write_recent(void)
Definition recent.c:855
Definition ws_ui_util.h:30