aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/api.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-16 21:39:18 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-16 21:39:36 +0200
commitba6da37569dde1ed7616c14d591134575e6a6879 (patch)
tree5562cad589f8c495bd02e61042cf633cd7f0e706 /libcmix-crypto/api.h
parentc9082aa07394e15cd800bd5ad396c37a2334c98d (diff)
downloadcmix-ba6da37569dde1ed7616c14d591134575e6a6879.tar.gz
cmix-ba6da37569dde1ed7616c14d591134575e6a6879.tar.bz2
cmix-ba6da37569dde1ed7616c14d591134575e6a6879.zip
Updates all the documentation.
Mainly covers the network rewrites.
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