diff options
author | Roland Knall <roland.knall@br-automation.com> | 2015-12-29 07:57:36 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-02-01 12:12:41 +0000 |
commit | 927ffaa794d5fb24e0b4f3fba08c4c31f4dd7d63 (patch) | |
tree | 70676d0b7e00e0b10678d0f7f3ff7dd707eabcd2 /epan/prefs.h | |
parent | 5e89f9332228015c3e5c813939bf35dbcc5a105d (diff) | |
download | wireshark-927ffaa794d5fb24e0b4f3fba08c4c31f4dd7d63.tar.gz |
extcap: Add Save functionality to options dialog
This patch creates the functionality of saving all parameters
for extcap devices in the general preference section.
For now, multiselect and fileselect do not save their values
but patches for this will be provided in the future
Also, all preferences are stored as strings to make handling
easier. This might change in the future, but for the first version
it will stick.
Restore to Defaults is not implemented as of yet, and will be
in a future version, once the preference storing is finalized
Bug: 11666
Change-Id: I178346405146d2e43f4f3481c05c92c0b3595af5
Reviewed-on: https://code.wireshark.org/review/13451
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index 6bb48d70dd..fd8afce28b 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -236,6 +236,9 @@ typedef struct _e_prefs { gint st_sort_defcolflag; gboolean st_sort_defdescending; gboolean st_sort_showfullname; +#ifdef HAVE_EXTCAP + gboolean extcap_save_on_start; +#endif } e_prefs; WS_DLL_PUBLIC e_prefs prefs; |