summaryrefslogtreecommitdiff
path: root/include/apr_user.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-01-28 00:29:19 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-01-28 00:29:19 +0000
commit58a59b64bf803d5faeccac4afe2e64f023b69a64 (patch)
tree130da8f842436306e5450a2d977f58480f809ff4 /include/apr_user.h
parenta1cf79b4f5cbb15f40d53b28eca65b21d46d679f (diff)
downloadlibapr-58a59b64bf803d5faeccac4afe2e64f023b69a64.tar.gz
Get the new userinfo stuff to compile cleanly.
git-svn-id: http://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