aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/version.h')
-rw-r--r--src/lib/utils/version.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/utils/version.h b/src/lib/utils/version.h
index 834b719af..1f364f952 100644
--- a/src/lib/utils/version.h
+++ b/src/lib/utils/version.h
@@ -22,9 +22,9 @@ namespace Botan {
* No particular format should be assumed.
* @return version string
*/
-BOTAN_DLL std::string version_string();
+BOTAN_PUBLIC_API(2,0) std::string version_string();
-BOTAN_DLL const char* version_cstr();
+BOTAN_PUBLIC_API(2,0) const char* version_cstr();
/**
* Return the date this version of botan was released, in an integer of
@@ -34,25 +34,25 @@ BOTAN_DLL const char* version_cstr();
*
* @return release date, or zero if unreleased
*/
-BOTAN_DLL uint32_t version_datestamp();
+BOTAN_PUBLIC_API(2,0) uint32_t version_datestamp();
/**
* Get the major version number.
* @return major version number
*/
-BOTAN_DLL uint32_t version_major();
+BOTAN_PUBLIC_API(2,0) uint32_t version_major();
/**
* Get the minor version number.
* @return minor version number
*/
-BOTAN_DLL uint32_t version_minor();
+BOTAN_PUBLIC_API(2,0) uint32_t version_minor();
/**
* Get the patch number.
* @return patch number
*/
-BOTAN_DLL uint32_t version_patch();
+BOTAN_PUBLIC_API(2,0) uint32_t version_patch();
/**
* Usable for checking that the DLL version loaded at runtime exactly
@@ -60,7 +60,7 @@ BOTAN_DLL uint32_t version_patch();
* values. Returns the empty string if an exact match, otherwise an
* appropriate message. Added with 1.11.26.
*/
-BOTAN_DLL std::string
+BOTAN_PUBLIC_API(2,0) std::string
runtime_version_check(uint32_t major,
uint32_t minor,
uint32_t patch);