X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-apis.c;h=1355894d74e9958c143a6cb94431db6801f3d253;hb=522569c5a9da8566f5213fa5b9b3abadf746331d;hp=0e257883503b5cb0d0ba3a329d16f7a975e12f42;hpb=f05bc513bc0e0a977e6393e859cecbec77b420c6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-apis.c b/src/afb-apis.c index 0e257883..1355894d 100644 --- a/src/afb-apis.c +++ b/src/afb-apis.c @@ -27,7 +27,6 @@ #include "verbose.h" #include "afb-apis.h" #include "afb-context.h" -#include "afb-hook.h" #include "afb-xreq.h" #include "jobs.h" @@ -271,9 +270,7 @@ static void do_call_async(int signum, void *arg) */ void afb_apis_call_direct(struct afb_xreq *xreq) { - /* init hooking the request */ - // TODO req = afb_hook_req_call(req, context, api, verb); - + afb_xreq_begin(xreq); do_call_direct(xreq); } @@ -285,9 +282,7 @@ void afb_apis_call(struct afb_xreq *xreq) { int rc; - /* init hooking the request */ - // TODO req = afb_hook_req_call(req, context, api, verb); - + afb_xreq_begin(xreq); afb_xreq_addref(xreq); rc = jobs_queue(NULL, apis_timeout, do_call_async, xreq); if (rc < 0) {