aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/version.h')
-rw-r--r--src/utils/version.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/version.h b/src/utils/version.h
index 3cc44e806..9ed776ed7 100644
--- a/src/utils/version.h
+++ b/src/utils/version.h
@@ -24,6 +24,14 @@ namespace Botan {
BOTAN_DLL std::string version_string();
/**
+* Return the date this version of botan was released, in an
+* integer of the form YYYYMMDD. For instance a version released
+* on May 21, 2013 would return the integer 20130521
+* @return the release date
+*/
+BOTAN_DLL u32bit version_datestamp();
+
+/**
* Get the major version number.
* @return the major version number
*/