diff options
author | Guy Harris <gharris@sonic.net> | 2020-07-15 15:28:10 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-07-15 23:43:22 +0000 |
commit | dccc382b4f8d0380fa73f31f6ad8625459ff7046 (patch) | |
tree | 01c9086c63520da5bf885ce609824ba19df4aa8b /extcap/extcap-base.h | |
parent | 93012800c8b27815db844785d61c79a93d1fb834 (diff) |
Show the version of libssh being used, if possible.
If we have ssh_version(), then ssh_version(0) will return a string for
the version being used.
Change-Id: I0717f6d4d5c3fa04aa7938dc6bc0d4c8abfa95fd
Reviewed-on: https://code.wireshark.org/review/37875
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'extcap/extcap-base.h')
-rw-r--r-- | extcap/extcap-base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/extcap-base.h b/extcap/extcap-base.h index b016f2661f..8fa6d872c6 100644 --- a/extcap/extcap-base.h +++ b/extcap/extcap-base.h @@ -87,7 +87,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 * exename, const char * major, const char * minor, const char * release, const char * helppage); -void extcap_base_add_library_info(extcap_parameters * extcap, const char * libname, const char * libversion); +void extcap_base_add_info(extcap_parameters * extcap, const char *fmt, ...); 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); |