summaryrefslogtreecommitdiff
path: root/include/apr_user.h
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-21 23:38:47 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-21 23:38:47 +0000
commitce4be7b763ba28728e4b6aec97ac871e14071efd (patch)
tree1eb30232fd0e4240bc0e2a68ba996260c9b25f88 /include/apr_user.h
parentadc5b77f4f3b56421d55fe50553a925942dd3abd (diff)
downloadlibapr-ce4be7b763ba28728e4b6aec97ac871e14071efd.tar.gz
Missing the apr_pool_t arg required for more complex queries of uid/gid
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61278 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_user.h')
-rw-r--r--include/apr_user.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/apr_user.h b/include/apr_user.h
index 314803de3..3c70da037 100644
--- a/include/apr_user.h
+++ b/include/apr_user.h
@@ -104,10 +104,12 @@ APR_DECLARE(apr_status_t) apr_get_username(char **username, apr_uid_t userid, ap
* @param userid Returns the user id
* @param groupid Returns the user's group id
* @param username The username to lookup
+ * @param p The pool from which to allocate working space
* @tip This function is available only if APR_HAS_USER is defined.
- * @deffunc apr_status_t apr_get_userid(apr_uid_t *userid, apr_gid_t *groupid, const char *username)
+ * @deffunc apr_status_t apr_get_userid(apr_uid_t *userid, apr_gid_t *groupid, const char *username, apr_pool_t *p)
*/
-APR_DECLARE(apr_status_t) apr_get_userid(apr_uid_t *userid, apr_gid_t *groupid, const char *username);
+APR_DECLARE(apr_status_t) apr_get_userid(apr_uid_t *userid, apr_gid_t *groupid,
+ const char *username, apr_pool_t *p);
/***
* Get the home directory for the named user