aboutsummaryrefslogtreecommitdiffstats
path: root/src/version.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-28 23:53:01 +0000
committerlloyd <[email protected]>2008-09-28 23:53:01 +0000
commit7853a74932791f7760961ddeb3a6064721eeb8b4 (patch)
treed5a3cbccc143148af63757cdc78166d85416eb3d /src/version.cpp
parentfaadc351369d187b6bb42c6e5a165242a62231da (diff)
Move util functions into utils/ module
Diffstat (limited to 'src/version.cpp')
-rw-r--r--src/version.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/version.cpp b/src/version.cpp
deleted file mode 100644
index 09deb53d6..000000000
--- a/src/version.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/*************************************************
-* Version Information Source File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
-
-#include <botan/version.h>
-#include <botan/parsing.h>
-
-namespace Botan {
-
-/*************************************************
-* Return the version as a string *
-*************************************************/
-std::string version_string()
- {
- return "Botan " + to_string(version_major()) + "." +
- to_string(version_minor()) + "." +
- to_string(version_patch());
- }
-
-/*************************************************
-* Return parts of the version as integers *
-*************************************************/
-u32bit version_major() { return BOTAN_VERSION_MAJOR; }
-u32bit version_minor() { return BOTAN_VERSION_MINOR; }
-u32bit version_patch() { return BOTAN_VERSION_PATCH; }
-
-}