aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-22 15:22:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-09 14:08:33 +0200
commit9a304ebddac4deb4992ea931ea1131b639798b3b (patch)
treecaeb35ad83653e6f4e8a9beef24440c0ba4f2871 /include/afb
parent59cd34b59853f6a47e756d7ab5bc0329f40a471c (diff)
Allow pure dynamic bindings
Activates the new internal interfaces Change-Id: I8f51cd271f66a0216ffdf03626300bb5964a70f9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb')
-rw-r--r--include/afb/afb-binding-vdyn.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/afb/afb-binding-vdyn.h b/include/afb/afb-binding-vdyn.h
index 6e7a0815..a3063a75 100644
--- a/include/afb/afb-binding-vdyn.h
+++ b/include/afb/afb-binding-vdyn.h
@@ -26,6 +26,14 @@
#include "afb-dynapi.h"
/*
+ * The function afbBindingVdyn if exported allows to create
+ * pure dynamic bindings. When the binding is loaded, it receives
+ * a virtual dynapi that can be used to create apis. The
+ * given API can not be used except for creating dynamic apis.
+ */
+extern int afbBindingVdyn(struct afb_dynapi *dynapi);
+
+/*
* Macros for logging messages
*/
#if defined(AFB_BINDING_PRAGMA_NO_VERBOSE_DATA)