From 7832d70f259bbb1f40ca5164f2128000519a16fe Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 11 Oct 2017 10:26:07 +0200 Subject: Update documentation for afb_req_get_uid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I984824b8ffc22783c1e6b63ee03ba23d5b7e2954 Signed-off-by: José Bollo --- docs/afb-binding-references.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/afb-binding-references.md b/docs/afb-binding-references.md index 185f3ef4..0e30ffe7 100644 --- a/docs/afb-binding-references.md +++ b/docs/afb-binding-references.md @@ -716,8 +716,15 @@ int afb_req_has_permission(struct afb_req req, const char *permission); * * The returned value if not NULL must be freed by the caller */ -inline char *afb_req_get_application_id(struct afb_req req); +char *afb_req_get_application_id(struct afb_req req); +/* + * Get the user identifier (UID) of the client application for the + * request 'req'. + * + * Returns -1 when the application can not be identified. + */ +int afb_req_get_uid(struct afb_req req); ``` ## Logging macros -- cgit 1.2.3-korg