summaryrefslogtreecommitdiffstats
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, 8 insertions, 0 deletions
diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h
index 9e55a361..b9e4366a 100644
--- a/include/afb/afb-request-itf.h
+++ b/include/afb/afb-request-itf.h
@@ -28,6 +28,7 @@ struct json_object;
struct afb_req;
struct afb_event;
struct afb_eventid;
+struct afb_dynapi;
struct afb_stored_req;
/*
@@ -42,9 +43,16 @@ struct afb_arg
/* when the request is finalized this file is removed */
};
+/*
+ * structure for the request
+ */
struct afb_request
{
+ /* interface for the request */
const struct afb_request_itf *itf;
+
+ /* current dynapi if dynapi (is NULL for bindings v1 and v2) */
+ struct afb_dynapi *dynapi;
};
/*