aboutsummaryrefslogtreecommitdiffstats
path: root/ws_version_info.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-03 15:03:31 +0100
committerJoão Valverde <j@v6e.pt>2017-09-03 20:12:39 +0000
commit8390744957984e074b270edb4e996de274ce3a07 (patch)
tree3bf3108d11e2345e448c285dc08d023ade20e35a /ws_version_info.h
parent1d157ebeef0d5eb82e30ff7d7e64b797be86a3ef (diff)
Add function to return version number at run-time
For use by plugins using libwireshark to check compatibility. Change-Id: I66a9d41644da7efce01cbed30d2a1f76fbc3754d Reviewed-on: https://code.wireshark.org/review/23378 Petri-Dish: João Valverde <j@v6e.pt> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ws_version_info.h')
-rw-r--r--ws_version_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ws_version_info.h b/ws_version_info.h
index ec5b1da621..6877704cfd 100644
--- a/ws_version_info.h
+++ b/ws_version_info.h
@@ -66,6 +66,11 @@ void show_version(const gchar *prog_name, GString *comp_info_str, GString *runti
*/
const char *get_ws_vcs_version_info(void);
+/*
+ * Return version number as integers.
+ */
+void get_ws_version_number(int *major, int *minor, int *micro);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */