X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-request-itf.h;h=d9d9c835699e4742c5ada676c2b42ece947dd45f;hb=refs%2Ftags%2F4.99.4;hp=b9e4366a0e28801019270e580057c1ed611023de;hpb=59cd34b59853f6a47e756d7ab5bc0329f40a471c;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h index b9e4366a..d9d9c835 100644 --- a/include/afb/afb-request-itf.h +++ b/include/afb/afb-request-itf.h @@ -51,8 +51,18 @@ struct afb_request /* interface for the request */ const struct afb_request_itf *itf; - /* current dynapi if dynapi (is NULL for bindings v1 and v2) */ + /* current dynapi (if any) */ struct afb_dynapi *dynapi; + + /* closure associated with the callback processing the verb of the request + * as given at its declaration */ + void *vcbdata; + + /* the name of the called verb */ + const char *api; + + /* the name of the called verb */ + const char *verb; }; /* @@ -188,5 +198,8 @@ struct afb_request_itf void (*callback)(void*, int, struct json_object*, struct afb_request *request), void *cb_closure); + int (*get_uid)( + struct afb_request *request); + };