diff options
author | Roland Knall <roland.knall@br-automation.com> | 2016-01-28 10:41:38 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-01-28 14:51:14 +0000 |
commit | 97a1a50e200a6c50e0014dde7e8ec932c30190a1 (patch) | |
tree | f7f49f88fd79da22f17d95d39f94b146c2e3b316 /extcap.h | |
parent | 08527e9b85d91f1d121bfa323b9c32780012a02c (diff) | |
download | wireshark-97a1a50e200a6c50e0014dde7e8ec932c30190a1.tar.gz |
extcap: Cleanup complex types and add save option
Cleanup handling of complex data types and use only
glib defined datatypes while handling argument values.
Add a save parameter, which (additionally) can set, that
a parameter is not saved in a configuration file. Passwords
are by default not saved, which may be overwritten using
this parameter
Change-Id: I67eff0f3286170f082d532e806a39511c40df647
Reviewed-on: https://code.wireshark.org/review/13573
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap.h')
-rw-r--r-- | extcap.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,10 @@ #ifdef HAVE_EXTCAP +/* As boolean flags will be allowed any form of yes, true or any number != 0 (or starting with 0) + * The regex will be matched case-insensitive, so only the lower-case is defined here. */ +#define EXTCAP_BOOLEAN_REGEX "^.*([yt1-9])" + /* Prefix for the pipe interfaces */ #define EXTCAP_PIPE_PREFIX "wireshark_extcap" |