X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Falsa-api.c;fp=src%2Falsa-api.c;h=ab7dced3746a10989a631d0c6b6dba58523687aa;hb=c2bda43c447016a20ed061078b0dff3e64d09940;hp=dca372ab705b48b2c14b09a533f2ce3f21fa055d;hpb=cd054544444e92e7695dd288f0c04b7af0f668e3;p=src%2Fapp-framework-binder.git diff --git a/src/alsa-api.c b/src/alsa-api.c index dca372ab..ab7dced3 100644 --- a/src/alsa-api.c +++ b/src/alsa-api.c @@ -29,20 +29,20 @@ STATIC json_object* pingAfbs (AFB_plugin *plugin, AFB_session *session, struct M STATIC AFB_restapi pluginApis[]= { - {"/ping" , (AFB_apiCB)pingSample ,"Ping Service"}, - {"/get-all" , (AFB_apiCB)pingAfbs ,"Ping Application Framework"}, - {"/get-one" , (AFB_apiCB)pingSample ,"Verbose Mode"}, - {"/start-one", (AFB_apiCB)pingSample ,"Verbose Mode"}, - {"/stop-one" , (AFB_apiCB)pingSample ,"Verbose Mode"}, - {"/probe-one", (AFB_apiCB)pingSample ,"Verbose Mode"}, - {"/ctx-store", (AFB_apiCB)pingSample ,"Verbose Mode"}, - {"/ctx-load" , (AFB_apiCB)pingSample ,"Verbose Mode"}, + {"ping" , (AFB_apiCB)pingSample ,"Ping Service"}, + {"get-all" , (AFB_apiCB)pingAfbs ,"Ping Application Framework"}, + {"get-one" , (AFB_apiCB)pingSample ,"Verbose Mode"}, + {"start-one", (AFB_apiCB)pingSample ,"Verbose Mode"}, + {"stop-one" , (AFB_apiCB)pingSample ,"Verbose Mode"}, + {"probe-one", (AFB_apiCB)pingSample ,"Verbose Mode"}, + {"ctx-store", (AFB_apiCB)pingSample ,"Verbose Mode"}, + {"ctx-load" , (AFB_apiCB)pingSample ,"Verbose Mode"}, {0,0,0} }; PUBLIC AFB_plugin *alsaRegister (AFB_session *session) { AFB_plugin *plugin = malloc (sizeof (AFB_plugin)); - + plugin->type = AFB_PLUGIN; plugin->info = "Application Framework Binder Service"; plugin->prefix = "alsa"; plugin->apis = pluginApis;