aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/api.h')
-rw-r--r--libcmix-crypto/api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcmix-crypto/api.h b/libcmix-crypto/api.h
index 06afcd2..c6f904f 100644
--- a/libcmix-crypto/api.h
+++ b/libcmix-crypto/api.h
@@ -47,8 +47,15 @@ struct Api {
SharedKeyDeleter free_shared_key; ///< Pointer to shared key deleter function
};
+/*!
+ * A Pointer to function typedef to facilitate multiple implementations.
+ */
typedef struct Api(*ImplementationGetter)();
+/*!
+ * \brief get_implementation The pointer to member function variable to implement when
+ * defining a an implementation
+ */
extern ImplementationGetter get_implementation;
#ifdef __cplusplus