X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=bindings%2Fsamples%2Fhello3.c;h=b50ea46d515dc0b8a1d1fa564fd99ac4c71bb73a;hb=9893640014f28ef9ad844939405f84b75a7fb57e;hp=99a358292b1e5baab0fd35dc7bed63e3f4a3f5f8;hpb=c4835ee2a1b46069e5addf6f8b023c2e66e3665b;p=src%2Fapp-framework-binder.git diff --git a/bindings/samples/hello3.c b/bindings/samples/hello3.c index 99a35829..b50ea46d 100644 --- a/bindings/samples/hello3.c +++ b/bindings/samples/hello3.c @@ -539,6 +539,11 @@ static void mute(afb_req_t request) { } +static void mutebug(afb_req_t request) +{ + afb_req_addref(request); +} + void queue_cb(int signum, void *arg) { afb_req_t request = arg; @@ -741,6 +746,7 @@ static const struct afb_verb_v3 verbs[]= { { .verb="locale", .callback=locale}, { .verb="api", .callback=api}, { .verb="mute", .callback=mute}, + { .verb="mutebug", .callback=mutebug}, { .verb="queue", .callback=queue}, { .verb="settings", .callback=settings}, { .verb=NULL}