summaryrefslogtreecommitdiff
path: root/include/apr_user.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-01-28 00:29:19 +0000
committerRyan Bloom <rbb@apache.org>2001-01-28 00:29:19 +0000
commit3efa8b1605047575a45870d623b71b385d373624 (patch)
tree130da8f842436306e5450a2d977f58480f809ff4 /include/apr_user.h
parent4a7012b2a70d39a5b70a3aba91a6d192b79d339f (diff)
downloadapr-3efa8b1605047575a45870d623b71b385d373624.tar.gz
Get the new userinfo stuff to compile cleanly.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_user.h')
-rw-r--r--include/apr_user.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/apr_user.h b/include/apr_user.h
index 0b69a9144..c1606462b 100644
--- a/include/apr_user.h
+++ b/include/apr_user.h
@@ -69,6 +69,12 @@ extern "C" {
* @package APR user id services
*/
+/**
+ * Structure for determining file owner.
+ * @defvar apr_uid_t
+ */
+typedef uid_t apr_uid_t;
+
/***
* Get the user name for a specified userid
* @param dirname Pointer to new string containing user name (on output)
@@ -77,7 +83,7 @@ extern "C" {
* @deffunc apr_status_t apr_get_username(char **username, apr_uid_t userid, apr_pool_t *p)
* @tip This function is available only if APR_HAS_USER is defined.
*/
-APR_DECLARE(apr_status_t) apr_get_userid(char **username, apr_uid_t userid, apr_pool_t *p);
+APR_DECLARE(apr_status_t) apr_get_username(char **username, apr_uid_t userid, apr_pool_t *p);
/***
* Get the home directory for the named user