summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-request-itf.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-10-10 18:21:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-10 20:28:40 +0200
commit04241c8168fe8826b4fc7a80500577b50936b57a (patch)
tree145d56f7357b463dabe60c2126348b9126edfbb0 /include/afb/afb-request-itf.h
parentb55a56d550d4a62a63e175f87c89a0a6c55e691e (diff)
Add the function afb_req_get_uid
Change-Id: I9caf38ee3811cf10b546489094f0bb5b3d844c40 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-request-itf.h')
-rw-r--r--include/afb/afb-request-itf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h
index e542442c..d9d9c835 100644
--- a/include/afb/afb-request-itf.h
+++ b/include/afb/afb-request-itf.h
@@ -198,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);
+
};