aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-19 12:52:04 -0400
committerJack Lloyd <[email protected]>2017-09-19 22:30:44 -0400
commitd179678fe398d9fba22b204a576747397e01d584 (patch)
treee8e647a084ae8d7332cebfa056eff3825a3247c5 /src/lib/utils
parent12c4dfec24e999ab80ff3a45e0b837976d4c390c (diff)
Move the annotations to compiler.h since the user shouldn't modify
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/compiler.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h
index 2c9248b1e..793220b00 100644
--- a/src/lib/utils/compiler.h
+++ b/src/lib/utils/compiler.h
@@ -13,6 +13,29 @@
#define BOTAN_USE_GCC_INLINE_ASM 1
#endif
+/**
+* Used to annotate API exports which are public and supported.
+* These APIs will not be broken/removed unless strictly required for
+* functionality or security, and only in new major versions.
+* @param maj The major version this public API was released in
+* @param min The minor version this public API was released in
+*/
+#define BOTAN_PUBLIC_API(maj,min) BOTAN_DLL
+
+/**
+* Used to annotate API exports which are public and can be used by
+* applications if needed, but which are intentionally not documented,
+* and which may change incompatibly in a future major version.
+*/
+#define BOTAN_UNSTABLE_API BOTAN_DLL
+
+/**
+* Used to annotate API exports which are exported but only for the
+* purposes of testing. They should not be used by applications and
+* may be removed or changed without notice.
+*/
+#define BOTAN_TEST_API BOTAN_DLL
+
/*
* Define BOTAN_GCC_VERSION
*/