diff options
author | Roland Knall <roland.knall@br-automation.com> | 2015-12-29 14:50:55 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-30 08:10:54 +0000 |
commit | 0921c8214ef225fe2b84c5ace0113ea1e931c70c (patch) | |
tree | 42c2c029f3eed5a1b21e017dbe10124dac80dab6 /extcap_parser.h | |
parent | b1239859664fa2ffe71d1ddbd6416c5b7f87bd5d (diff) |
extcap: Add Required and cleanup
An option may now use the "required=true" argument (see sshdump.c)
which will ensure, that the capture can only be started via the
dialog, if the option has been provided. To ensure, that this is
working properly, multiselect has been moved to a separate source
file.
Renamed one method so it may not interfere with a future save
functionality, and cleaned up the interface to use only default
buttons and roles
ONLY the Qt interface is being supported.
Change-Id: Ie1c9a63c1bba2e557d55b1de6f4775d8b9fce515
Reviewed-on: https://code.wireshark.org/review/12912
Reviewed-by: Roland Knall <rknall@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap_parser.h')
-rw-r--r-- | extcap_parser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extcap_parser.h b/extcap_parser.h index 9e1e51b388..de7be00498 100644 --- a/extcap_parser.h +++ b/extcap_parser.h @@ -67,7 +67,8 @@ typedef enum { EXTCAP_PARAM_NAME, EXTCAP_PARAM_ENABLED, EXTCAP_PARAM_FILE_MUSTEXIST, - EXTCAP_PARAM_PARENT + EXTCAP_PARAM_PARENT, + EXTCAP_PARAM_REQUIRED } extcap_param_type; /* Values for a given sentence; values are all stored as a call @@ -106,6 +107,8 @@ typedef struct _extcap_arg { gchar *tooltip; gboolean fileexists; + gboolean is_required; + extcap_arg_type arg_type; extcap_complex *range_start; |