13#ifndef __WS_VERSION_INFO_H__
14#define __WS_VERSION_INFO_H__
49 const char* appflavor,
GList ** feature_list
Semi-opaque handle to a list of features or dependencies.
Definition feature_list.h:33
const char *(* get_version_func)(void)
Pointer to a function which gets a version string.
Definition feature_list.h:52
void(* gather_feature_func)(feature_list l)
Pointer to a function which gathers a list of features.
Definition feature_list.h:47
WS_DLL_PUBLIC void gather_pcre2_runtime_info(feature_list l)
Collect PCRE2 runtime feature information.
Definition version_info.c:512
WS_DLL_PUBLIC void gather_zlib_ng_compile_info(feature_list l)
Collect zlib-ng compile-time feature information.
Definition version_info.c:253
WS_DLL_PUBLIC const char * get_copyright_info(void)
Retrieve the copyright information string.
Definition version_info.c:701
WS_DLL_PUBLIC void gather_xxhash_compile_info(feature_list l)
Collect XXH3/XXHash compile-time feature information.
Definition version_info.c:229
WS_DLL_PUBLIC const char * get_ss_vcs_version_info(void)
Retrieve the Stratoshark version string with VCS metadata.
Definition version_info.c:642
WS_DLL_PUBLIC void gather_xxhash_runtime_info(feature_list l)
Collect XXHash runtime feature information.
Definition version_info.c:538
WS_DLL_PUBLIC void gather_pcre2_compile_info(feature_list l)
Collect PCRE2 compile-time feature information.
Definition version_info.c:217
WS_DLL_PUBLIC const char * get_license_info_short(void)
Retrieve a short summary of the application's license information.
Definition version_info.c:708
WS_DLL_PUBLIC const char * get_ws_vcs_version_info(void)
Retrieve the Wireshark version string with VCS metadata.
Definition version_info.c:632
WS_DLL_PUBLIC void get_ws_version_number(int *major, int *minor, int *micro)
Retrieve the Wireshark version number as integers.
Definition version_info.c:662
WS_DLL_PUBLIC void gather_zlib_compile_info(feature_list l)
Collect zlib compile-time feature information.
Definition version_info.c:239
WS_DLL_PUBLIC void gather_zlib_runtime_info(feature_list l)
Collect zlib runtime feature information.
Definition version_info.c:547
WS_DLL_PUBLIC GString * get_compiled_version_info(gather_feature_func gather_compile)
Retrieve compile-time version information for various libraries.
Definition version_info.c:268
WS_DLL_PUBLIC const char * get_ws_vcs_version_info_short(void)
Retrieve a shortened Wireshark version string with VCS metadata.
Definition version_info.c:652
WS_DLL_PUBLIC const char * get_appname_and_version(void)
Retrieve the application name and version string.
Definition version_info.c:211
WS_DLL_PUBLIC void show_version(void)
Display the program name and version to standard output.
Definition version_info.c:673
WS_DLL_PUBLIC GString * get_runtime_version_info(gather_feature_func gather_runtime)
Retrieve runtime version information for libraries and the operating system.
Definition version_info.c:565
WS_DLL_PUBLIC void show_help_header(const char *description)
Display help header with program name, version, and description.
Definition version_info.c:688
WS_DLL_PUBLIC const char * get_license_info(void)
Retrieve the application's license information string.
Definition version_info.c:717
WS_DLL_PUBLIC void ws_init_version_info(const char *appname, const char *appflavor, get_version_func version_func, gather_feature_func gather_compile, gather_feature_func gather_runtime)
Initialize version and build information for the application. Initialize information about the progra...
Definition version_info.c:61