aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb/afb-request-itf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb/afb-request-itf.h')
-rw-r--r--include/afb/afb-request-itf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h
index eb7c5347..e542442c 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;
};
/*