X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-apis.c;h=ba8e0ddce61bbafc7db4df2744e2acbc09405417;hb=b529ded85a3e50a1aa6529e870b2e2f43e377ca2;hp=1355894d74e9958c143a6cb94431db6801f3d253;hpb=59db7c73c9d98414be9edf7056d7afe025512b3e;p=src%2Fapp-framework-binder.git diff --git a/src/afb-apis.c b/src/afb-apis.c index 1355894d..ba8e0ddc 100644 --- a/src/afb-apis.c +++ b/src/afb-apis.c @@ -293,3 +293,19 @@ void afb_apis_call(struct afb_xreq *xreq) } } +/** + * Ask to update the hook flags + */ +void afb_apis_update_hooks() +{ + const struct api_desc *i, *e; + + i = apis_array; + e = &apis_array[apis_count]; + while (i != e) { + if (i->api.update_hooks) + i->api.update_hooks(i->api.closure); + i++; + } +} +