Wireshark 4.7.4
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
preference_utils.h
Go to the documentation of this file.
1
11
12#ifndef __PREFERENCE_UTILS_H__
13#define __PREFERENCE_UTILS_H__
14
15#include <glib.h>
16#include <epan/prefs.h>
17typedef struct capture_options_tag capture_options;
18
19#ifdef __cplusplus
20extern "C" {
21#endif /* __cplusplus */
22
27
30extern bool auto_scroll_live;
31
34extern void prefs_to_capture_opts(capture_options* capture_opts);
35
46extern void capture_opts_set_process_info(capture_options* capture_opts, capture_process_info_e level);
47
50extern void prefs_main_write(void);
51
63extern unsigned int prefs_store_ext(const char * module, const char * key, const char * value);
64
76extern bool prefs_store_ext_multiple(const char * module, GHashTable * pref_values);
77
87int column_prefs_add_custom(int fmt, const char *title,
88 const char *custom_field,
89 int position);
90
97int column_prefs_has_custom(const char *custom_field);
98
112bool column_prefs_custom_display_strings(const char *custom_field);
113
123bool column_prefs_custom_display_details(const char *custom_field);
124
129void column_prefs_remove_link(GList* col_link);
130
135void column_prefs_remove_nth(int col);
136
140void save_migrated_uat(const char *uat_name, bool *old_pref);
141
142#ifdef __cplusplus
143}
144#endif /* __cplusplus */
145
146#endif /* __PREFERENCE_UTILS_H__ */
int column_prefs_has_custom(const char *custom_field)
Definition preference_utils.c:251
void prefs_to_capture_opts(capture_options *capture_opts)
bool auto_scroll_live
unsigned int prefs_store_ext(const char *module, const char *key, const char *value)
Definition preference_utils.c:151
void column_prefs_remove_nth(int col)
Definition preference_utils.c:344
void capture_opts_set_process_info(capture_options *capture_opts, capture_process_info_e level)
Set what is recorded of the processes that packets belong to.
bool prefs_store_ext_multiple(const char *module, GHashTable *pref_values)
Definition preference_utils.c:166
void prefs_main_write(void)
Definition preference_utils.c:76
void save_migrated_uat(const char *uat_name, bool *old_pref)
Definition preference_utils.c:350
bool column_prefs_custom_display_details(const char *custom_field)
Definition preference_utils.c:302
bool column_prefs_custom_display_strings(const char *custom_field)
Definition preference_utils.c:273
int column_prefs_add_custom(int fmt, const char *title, const char *custom_field, int position)
Definition preference_utils.c:202
void column_prefs_remove_link(GList *col_link)
Definition preference_utils.c:328
capture_process_info_e
What to record of the processes that packets belong to when capturing.
Definition prefs.h:183
Definition capture_opts.h:259