diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-21 06:57:05 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-21 07:00:46 +0100 |
commit | 98f5843474dcec55827279b6f42007341c171ae0 (patch) | |
tree | 010c6328cda7ef2b2577eb00ffca14c931dfbc3b /include/proto-def.h | |
parent | 03bebc12f0fd5006a72e430084146a36d2db7c8d (diff) |
Switch to a plugin model
Each API now compiles to a ".so" file, which gets searched
for in the "${libdir}/afb" directory at startup.
We can now load an arbitrary number of plugins (> 10).
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'include/proto-def.h')
-rw-r--r-- | include/proto-def.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/proto-def.h b/include/proto-def.h index 315cecfa..937d6930 100644 --- a/include/proto-def.h +++ b/include/proto-def.h @@ -34,11 +34,7 @@ PUBLIC AFB_PostHandle* getPostHandle (AFB_request *request); void initPlugins (AFB_session *session); typedef AFB_plugin* (*AFB_pluginCB)(); -PUBLIC AFB_plugin* tokenRegister (); -PUBLIC AFB_plugin* audioRegister (); -PUBLIC AFB_plugin* helloWorldRegister (); -PUBLIC AFB_plugin* radioRegister (); -PUBLIC AFB_plugin* samplePostRegister (); +PUBLIC AFB_plugin* pluginRegister (); // Session handling PUBLIC AFB_error sessionCheckdir (AFB_session *session); |