Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CMAKE: refactor options
[src/app-framework-binder.git]
/
include
/
afb
/
afb-request-itf.h
diff --git
a/include/afb/afb-request-itf.h
b/include/afb/afb-request-itf.h
index
b9e4366
..
d9d9c83
100644
(file)
--- 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;
/* 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;
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);
void (*callback)(void*, int, struct json_object*, struct afb_request *request),
void *cb_closure);
+ int (*get_uid)(
+ struct afb_request *request);
+
};
};