Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
preference_utils.h
Go to the documentation of this file.
1 /* preference_utils.h
2  * Routines for handling preferences
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __PREFRENCE_UTILS_H__
12 #define __PREFRENCE_UTILS_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
25 extern gboolean auto_scroll_live;
26 
29 extern void prefs_to_capture_opts(void);
30 
33 extern void prefs_main_write(void);
34 
46 extern unsigned int prefs_store_ext(const char * module, const char * key, const char * value);
47 
59 extern gboolean prefs_store_ext_multiple(const char * module, GHashTable * pref_values);
60 
70 gint column_prefs_add_custom(gint fmt, const gchar *title,
71  const gchar *custom_field,
72  gint custom_occurrence);
73 
78 void column_prefs_remove_link(GList* col_link);
79 
84 void column_prefs_remove_nth(gint col);
85 
86 
87 #ifdef __cplusplus
88 }
89 #endif /* __cplusplus */
90 
91 #endif /* __PREFRENCE_UTILS_H__ */
92 
93 /*
94  * Editor modelines - https://www.wireshark.org/tools/modelines.html
95  *
96  * Local Variables:
97  * c-basic-offset: 4
98  * tab-width: 8
99  * indent-tabs-mode: nil
100  * End:
101  *
102  * ex: set shiftwidth=4 tabstop=8 expandtab:
103  * :indentSize=4:tabSize=8:noTabs=true:
104  */
void prefs_to_capture_opts(void)
Definition: preference_utils.c:36
gboolean prefs_store_ext_multiple(const char *module, GHashTable *pref_values)
Definition: preference_utils.c:120
gboolean auto_scroll_live
void prefs_main_write(void)
Definition: preference_utils.c:50
void column_prefs_remove_nth(gint col)
Definition: preference_utils.c:211
gint column_prefs_add_custom(gint fmt, const gchar *title, const gchar *custom_field, gint custom_occurrence)
Definition: preference_utils.c:156
void column_prefs_remove_link(GList *col_link)
Definition: preference_utils.c:196
unsigned int prefs_store_ext(const char *module, const char *key, const char *value)
Definition: preference_utils.c:105