summaryrefslogtreecommitdiff
path: root/extcap_parser.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2016-09-05 07:54:47 +0200
committerRoland Knall <rknall@gmail.com>2016-09-07 09:09:30 +0000
commitee1a4109cfc8fb314d151f59859a348765ba9dbf (patch)
tree36f0efeb8e85e339824ce3d63841f87385ab971b /extcap_parser.h
parent859cf86c8d25b7ead113821ece4e9dec853e70d6 (diff)
downloadwireshark-ee1a4109cfc8fb314d151f59859a348765ba9dbf.tar.gz
extcap: Add tool-specified helppage
Allow the tool to provide a link to a helppage, displayed by clicking on help in the configuration dialog. The URL will be opened using an URL based service, therefore local as well as remote URLs are possible. Change-Id: I58b30244e97919d5cf6892faf96536ddc30fb5a7 Reviewed-on: https://code.wireshark.org/review/17549 Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap_parser.h')
-rw-r--r--extcap_parser.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/extcap_parser.h b/extcap_parser.h
index 298fbd7558..5f12037014 100644
--- a/extcap_parser.h
+++ b/extcap_parser.h
@@ -75,7 +75,8 @@ typedef enum {
EXTCAP_PARAM_REQUIRED,
EXTCAP_PARAM_SAVE,
EXTCAP_PARAM_VALIDATION,
- EXTCAP_PARAM_VERSION
+ EXTCAP_PARAM_VERSION,
+ EXTCAP_PARAM_HELP
} extcap_param_type;
#define ENUM_KEY(s) GUINT_TO_POINTER((guint)s)
@@ -127,15 +128,12 @@ typedef struct _extcap_arg {
GList * values;
} extcap_arg;
-typedef struct _extcap_if {
- gchar * extcap_path;
- GList * interfaces;
-} extcap_if;
-
typedef struct _extcap_interface {
- gchar *call;
- gchar *display;
- gchar *version;
+ gchar * call;
+ gchar * display;
+ gchar * version;
+ gchar * help;
+ gchar * extcap_path;
extcap_sentence_type if_type;
} extcap_interface;