diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-08-24 15:10:51 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-08-25 12:29:49 +0000 |
commit | f597234785f8e4ddf1cf9f7c5d6f5fbacd9631bf (patch) | |
tree | 7bc2c9390e864ed598d7a86224dd4b0fef2a77bb /extcap/extcap-base.h | |
parent | c661da414d5ddb506e0c23d3169cff45b6211398 (diff) | |
download | wireshark-f597234785f8e4ddf1cf9f7c5d6f5fbacd9631bf.tar.gz |
extcap: add binary name and version to help message.
Change-Id: I8f8083c817065cf66fd006a1caeb309d26209509
Reviewed-on: https://code.wireshark.org/review/17305
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap/extcap-base.h')
-rw-r--r-- | extcap/extcap-base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extcap/extcap-base.h b/extcap/extcap-base.h index 90aa19c1c1..fecfb4cdd8 100644 --- a/extcap/extcap-base.h +++ b/extcap/extcap-base.h @@ -101,6 +101,7 @@ typedef struct _extcap_parameters { + char * exename; char * fifo; char * interface; char * capture_filter; @@ -123,7 +124,7 @@ typedef struct _extcap_parameters void extcap_base_register_interface(extcap_parameters * extcap, const char * interface, const char * ifdescription, uint16_t dlt, const char * dltdescription ); void extcap_base_register_interface_ext(extcap_parameters * extcap, const char * interface, const char * ifdescription, uint16_t dlt, const char * dltname, const char * dltdescription ); -void extcap_base_set_util_info(extcap_parameters * extcap, const char * major, const char * minor, const char * release, const char * helppage); +void extcap_base_set_util_info(extcap_parameters * extcap, const char * exename, const char * major, const char * minor, const char * release, const char * helppage); uint8_t extcap_base_parse_options(extcap_parameters * extcap, int result, char * optargument); uint8_t extcap_base_handle_interface(extcap_parameters * extcap); void extcap_base_cleanup(extcap_parameters ** extcap); |