diff options
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c index 9eb597164c..74ddfe5001 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -32,6 +32,7 @@ #include <glib.h> +#include <ws_version_info.h> #include <wsutil/report_message.h> #include <epan/exceptions.h> @@ -96,6 +97,12 @@ epan_get_version(void) { return VERSION; } +void +epan_get_version_number(int *major, int *minor, int *micro) +{ + get_ws_version_number(major, minor, micro); +} + #if defined(_WIN32) // Libgcrypt prints all log messages to stderr by default. This is noisier // than we would like on Windows. In particular slow_gatherer tends to print |