X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-service-common.h;h=081b1db62f056b1892a8efc512035edc6640b4d7;hb=090379fdaf6ed1860dcff21424135ad71ead0cd2;hp=76f8e4e470bb2c610d15f4d8de59fa66a11bd781;hpb=ce8d87d91aa710702b02a371278f4e1f39ea195c;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-service-common.h b/include/afb/afb-service-common.h index 76f8e4e4..081b1db6 100644 --- a/include/afb/afb-service-common.h +++ b/include/afb/afb-service-common.h @@ -32,6 +32,9 @@ struct afb_service_itf void (*call)(void *closure, const char *api, const char *verb, struct json_object *args, void (*callback)(void*, int, struct json_object*), void *callback_closure); + + int (*call_sync)(void *closure, const char *api, const char *verb, struct json_object *args, + struct json_object **result); }; /*