summaryrefslogtreecommitdiff
path: root/include/apr_user.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-06-08 20:04:26 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-06-08 20:04:26 +0000
commita7019904e36166ae0dd20ca02663f4ebd59e53e3 (patch)
tree2aaf9b88c657b57e87e561e34894ca39f016450b /include/apr_user.h
parenta2dca257ec33ce76e39059cdff1d80c80857e976 (diff)
downloadapr-a7019904e36166ae0dd20ca02663f4ebd59e53e3.tar.gz
Revert bogusness by providing proper stubs for functions that existed
since the first indirect APR release [APACHE_2_0_35]. Fortunately, these appear to be the only bogusness detected between _35 and _36, and _37 must follow suit with stubs for newly deprecated symbols. Of course all stubs fall out with 1.0.0, which I picture Apache adopting with stronger version controls in APACHE_2_1_x, but we will see what concensus each project adopts between now and then. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63475 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 3cc99e0db..cda0d7c0b 100644
--- a/include/apr_user.h
+++ b/include/apr_user.h
@@ -154,7 +154,13 @@ APR_DECLARE(apr_status_t) apr_compare_users(apr_uid_t left, apr_uid_t right);
* @param p The pool from which to allocate the string
* @remark This function is available only if APR_HAS_USER is defined.
*/
-APR_DECLARE(apr_status_t) apr_group_name_get(char **groupname, apr_gid_t groupid, apr_pool_t *p);
+APR_DECLARE(apr_status_t) apr_group_name_get(char **groupname,
+ apr_gid_t groupid, apr_pool_t *p);
+
+/** @deprecated @see apr_group_name_get */
+#define apr_get_groupname apr_group_name_get
+APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname,
+ apr_gid_t groupid, apr_pool_t *p);
/**
* Get the groupid for a specified group name