X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-request-itf.h;h=d9d9c835699e4742c5ada676c2b42ece947dd45f;hb=f8ca7444353ca2ea3384d53482219e26f624b7d8;hp=eb7c534781a9bb4edc031bc8b737062e5dc6ace3;hpb=f30be1ca9ce04cfab55b9e6ce25cec6952f7e21d;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h index eb7c5347..d9d9c835 100644 --- a/include/afb/afb-request-itf.h +++ b/include/afb/afb-request-itf.h @@ -51,12 +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; }; /* @@ -192,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); + };