summaryrefslogtreecommitdiffstats
path: root/docs/afb-binding-references.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/afb-binding-references.md')
-rw-r--r--docs/afb-binding-references.md9
1 files changed, 8 insertions, 1 deletions
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