diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ckm/ckm-raw-buffer.h | 4 | ||||
-rw-r--r-- | src/include/ckm/ckm-type.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/ckm/ckm-raw-buffer.h b/src/include/ckm/ckm-raw-buffer.h index 8ae908f0..7fad01d8 100644 --- a/src/include/ckm/ckm-raw-buffer.h +++ b/src/include/ckm/ckm-raw-buffer.h @@ -26,10 +26,12 @@ #include <string.h> #include <vector> +#define KEY_MANAGER_API __attribute__((visibility("default"))) + namespace CKM { template <typename T> -struct std_erase_on_dealloc { +struct KEY_MANAGER_API std_erase_on_dealloc { // MJK: if re-factoring, remember not to inherit from the std::allocator ! // MJK: to be replaced with much shorter version once std::allocator_traits // becomes supported in STL containers (i.e. list, vector and string) diff --git a/src/include/ckm/ckm-type.h b/src/include/ckm/ckm-type.h index 5a07a3de..f7fb9782 100644 --- a/src/include/ckm/ckm-type.h +++ b/src/include/ckm/ckm-type.h @@ -117,7 +117,7 @@ enum Permission : int { }; // algorithm parameters -enum class ParamName : int { +enum class KEY_MANAGER_API ParamName : int { ALGO_TYPE = 1, // If there's no such param, the service will try to deduce the algorithm // type from the key. |