diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-16 17:12:04 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-16 17:13:47 +0100 |
commit | 41c462374fb25fae29f3b4a28eb99fdb639e8547 (patch) | |
tree | 1d255970fbb1cf3a07d92d478a6261f7c16e08b9 /plugins/samples | |
parent | f4df9160115470439d1820409126694d138cd7be (diff) |
Fix plugins loading, cleanup and dispatch Radio API code
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/samples')
-rw-r--r-- | plugins/samples/HelloWorld.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c index 70de03f0..619c075a 100644 --- a/plugins/samples/HelloWorld.c +++ b/plugins/samples/HelloWorld.c @@ -79,13 +79,11 @@ STATIC AFB_restapi pluginApis[]= { {"pingnull" , AFB_SESSION_NONE, (AFB_apiCB)pingFail , "Return NULL"}, {"pingbug" , AFB_SESSION_NONE, (AFB_apiCB)pingBug , "Do a Memory Violation"}, {"pingJson" , AFB_SESSION_NONE, (AFB_apiCB)pingJson , "Return a JSON object"}, - {"ctx-store", AFB_SESSION_NONE, (AFB_apiCB)pingSample , "Verbose Mode"}, - {"ctx-load" , AFB_SESSION_NONE, (AFB_apiCB)pingSample , "Verbose Mode"}, {NULL} }; -PUBLIC AFB_plugin *dbusRegister () { +PUBLIC AFB_plugin *helloWorldRegister () { AFB_plugin *plugin = malloc (sizeof (AFB_plugin)); plugin->type = AFB_PLUGIN_JSON; plugin->info = "Application Framework Binder Service"; |