aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-12 19:37:05 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-12 19:37:05 +0000
commit695e3067fc242d0b47109118d242c936158955d4 (patch)
tree8fe3fe8012da7eda78ef6d348d0f68a7a638926d /epan/prefs.h
parentb93624a2d41f190082efc8a768126182666d67a3 (diff)
Added an option to save column widths in the recent file.
Not 100% implemented for usage with configuration profiles with different column layout yet, as this requires some of the recent values to be saved in each profile. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24949 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index f8419440be..2b632cb151 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -122,6 +122,7 @@ typedef struct _e_prefs {
gboolean gui_geometry_save_position;
gboolean gui_geometry_save_size;
gboolean gui_geometry_save_maximized;
+ gboolean gui_geometry_save_column_width;
console_open_e gui_console_open;
guint gui_recent_files_count_max;
guint gui_fileopen_style;
@@ -359,6 +360,14 @@ typedef guint (*pref_cb)(pref_t *pref, gpointer user_data);
extern guint prefs_pref_foreach(module_t *module, pref_cb callback,
gpointer user_data);
+/* Parse through a list of comma-separated, possibly quoted strings.
+ * Return a list of the string data.
+ */
+extern GList *prefs_get_string_list(gchar *str);
+
+/* Clear the given list of string data. */
+extern void prefs_clear_string_list(GList *sl);
+
/*
* Register all non-dissector modules' preferences.
*/