From ee1a4109cfc8fb314d151f59859a348765ba9dbf Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Mon, 5 Sep 2016 07:54:47 +0200 Subject: 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 --- extcap_parser.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'extcap_parser.h') 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; -- cgit v1.2.1