X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fradio-api.c;h=18562c322d7ce27e2e0b8d5e144c602555e2ca87;hb=d00571d3c5365f40e7ec2ec3ab0f636afa0db480;hp=37da4ebca31fe94910127a9e6b333e5f6c02af1d;hpb=e7c246a1b0d30b8156c7033061a61ecb5d2bdfc8;p=src%2Fapp-framework-binder.git diff --git a/src/radio-api.c b/src/radio-api.c index 37da4ebc..18562c32 100644 --- a/src/radio-api.c +++ b/src/radio-api.c @@ -493,14 +493,14 @@ STATIC struct { STATIC AFB_restapi pluginApis[]= { - {"start" , (AFB_apiCB)start , "Ping Application Framework", NULL}, - {"stop" , (AFB_apiCB)stop , "Ping Application Framework", NULL}, - {0,0,0} + {"start" , (AFB_apiCB)start , "Ping Application Framework"}, + {"stop" , (AFB_apiCB)stop , "Ping Application Framework"}, + {NULL} }; PUBLIC AFB_plugin *radioRegister (AFB_session *session) { AFB_plugin *plugin = malloc (sizeof (AFB_plugin)); - plugin->type = AFB_PLUGIN; + plugin->type = AFB_PLUGIN_JSON; plugin->info = "Application Framework Binder - Radio plugin"; plugin->prefix = "radio"; plugin->apis = pluginApis;