X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ucs2-afb%2Fucs_apidef.h;h=876ac89bf0b37bcef7d6405f0d6f089218394ca6;hb=1b245760ed8a3476a9288e39965a23e1d50b085a;hp=1c27ab7658799b5a1ef2cb6980b24399a1535c4a;hpb=01475efcf23f47c13f44b057e42decb916117d67;p=apps%2Fagl-service-unicens.git diff --git a/ucs2-afb/ucs_apidef.h b/ucs2-afb/ucs_apidef.h index 1c27ab7..876ac89 100644 --- a/ucs2-afb/ucs_apidef.h +++ b/ucs2-afb/ucs_apidef.h @@ -42,12 +42,7 @@ static const char _afb_description_v2_UNICENS[] = ":\"node\",\"required\":true,\"schema\":{\"type\":\"integer\",\"format\":" "\"int32\"}},{\"in\":\"query\",\"name\":\"data\",\"required\":true,\"sche" "ma\":{\"type\":\"array\",\"format\":\"int32\"},\"style\":\"simple\"}],\"" - "responses\":{\"200\":{\"$ref\":\"#/components/responses/200\"}}}},\"/vol" - "ume\":{\"description\":\"Set Master Volume (DEPRECATED).\",\"get\":{\"x-" - "permissions\":{\"$ref\":\"#/components/x-permissions/monitor\"},\"parame" - "ters\":[{\"in\":\"query\",\"name\":\"value\",\"required\":true,\"schema\"" - ":{\"type\":\"integer\"}}],\"responses\":{\"200\":{\"$ref\":\"#/component" - "s/responses/200\"}}}}}}" + "responses\":{\"200\":{\"$ref\":\"#/components/responses/200\"}}}}}}" ; static const struct afb_auth _afb_auths_v2_UNICENS[] = { @@ -59,7 +54,6 @@ static const struct afb_auth _afb_auths_v2_UNICENS[] = { void ucs2_initialise(struct afb_req req); void ucs2_subscribe(struct afb_req req); void ucs2_writei2c(struct afb_req req); - void ucs2_volume(struct afb_req req); static const struct afb_verb_v2 _afb_verbs_v2_UNICENS[] = { { @@ -90,13 +84,6 @@ static const struct afb_verb_v2 _afb_verbs_v2_UNICENS[] = { .info = NULL, .session = AFB_SESSION_NONE_V2 }, - { - .verb = "volume", - .callback = ucs2_volume, - .auth = &_afb_auths_v2_UNICENS[1], - .info = NULL, - .session = AFB_SESSION_NONE_V2 - }, { .verb = NULL } };