Wireshark  4.3.0
The Wireshark network protocol analyzer
preference_utils.h
Go to the documentation of this file.
1 
12 #ifndef __PREFRENCE_UTILS_H__
13 #define __PREFRENCE_UTILS_H__
14 
15 #include <glib.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
20 
28 extern bool auto_scroll_live;
29 
32 extern void prefs_to_capture_opts(void);
33 
36 extern void prefs_main_write(void);
37 
49 extern unsigned int prefs_store_ext(const char * module, const char * key, const char * value);
50 
62 extern bool prefs_store_ext_multiple(const char * module, GHashTable * pref_values);
63 
73 int column_prefs_add_custom(int fmt, const char *title,
74  const char *custom_field,
75  int position);
76 
83 int column_prefs_has_custom(const char *custom_field);
84 
98 bool column_prefs_custom_resolve(const char *custom_field);
99 
104 void column_prefs_remove_link(GList* col_link);
105 
110 void column_prefs_remove_nth(int col);
111 
115 void save_migrated_uat(const char *uat_name, bool *old_pref);
116 
117 #ifdef __cplusplus
118 }
119 #endif /* __cplusplus */
120 
121 #endif /* __PREFRENCE_UTILS_H__ */
int column_prefs_has_custom(const char *custom_field)
Definition: preference_utils.c:209
void prefs_to_capture_opts(void)
Definition: preference_utils.c:35
bool auto_scroll_live
unsigned int prefs_store_ext(const char *module, const char *key, const char *value)
Definition: preference_utils.c:113
void column_prefs_remove_nth(int col)
Definition: preference_utils.c:276
bool prefs_store_ext_multiple(const char *module, GHashTable *pref_values)
Definition: preference_utils.c:128
void prefs_main_write(void)
Definition: preference_utils.c:50
void save_migrated_uat(const char *uat_name, bool *old_pref)
Definition: preference_utils.c:282
bool column_prefs_custom_resolve(const char *custom_field)
Definition: preference_utils.c:231
int column_prefs_add_custom(int fmt, const char *title, const char *custom_field, int position)
Definition: preference_utils.c:164
void column_prefs_remove_link(GList *col_link)
Definition: preference_utils.c:260