X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=bindings%2Fmedia%2Fmedia-api.c;h=39c2e2c9776448cb23f4a67e204978e34b683140;hb=574c9987543b2b615a8ebdeda2b35062b0730742;hp=578d0066663ac2847c7786d47faa9d8fa925d789;hpb=904f490e7d70653bb54b53d3bc7c7bead45be844;p=src%2Fapp-framework-binder.git diff --git a/bindings/media/media-api.c b/bindings/media/media-api.c index 578d0066..39c2e2c9 100644 --- a/bindings/media/media-api.c +++ b/bindings/media/media-api.c @@ -24,7 +24,7 @@ #include "media-api.h" #include "media-rygel.h" -#include +#include #include json_object* _rygel_list (mediaCtxHandleT *); @@ -303,7 +303,7 @@ static void ping (struct afb_req request) { /* AFB_SESSION_NONE */ } -static const struct AFB_verb_desc_v1 verbs[]= { +static const struct afb_verb_desc_v1 verbs[]= { {"init" , AFB_SESSION_CHECK, init , "Media API - init" }, {"list" , AFB_SESSION_CHECK, list , "Media API - list" }, {"select" , AFB_SESSION_CHECK, selecting , "Media API - select" }, @@ -316,8 +316,8 @@ static const struct AFB_verb_desc_v1 verbs[]= { {NULL} }; -static const struct AFB_plugin pluginDesc = { - .type = AFB_PLUGIN_VERSION_1, +static const struct afb_binding pluginDesc = { + .type = AFB_BINDING_VERSION_1, .v1 = { .info = "Application Framework Binder - Media plugin", .prefix = "media", @@ -325,7 +325,7 @@ static const struct AFB_plugin pluginDesc = { } }; -const struct AFB_plugin *pluginAfbV1Register (const struct AFB_interface *itf) +const struct afb_binding *afbBindingV1Register (const struct afb_binding_interface *itf) { return &pluginDesc; }