From 41c462374fb25fae29f3b4a28eb99fdb639e8547 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Wed, 16 Dec 2015 17:12:04 +0100 Subject: Fix plugins loading, cleanup and dispatch Radio API code Signed-off-by: Manuel Bachmann --- plugins/samples/HelloWorld.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/samples/HelloWorld.c') 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"; -- cgit 1.2.3-korg