diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-06-08 20:04:26 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-06-08 20:04:26 +0000 |
commit | a7019904e36166ae0dd20ca02663f4ebd59e53e3 (patch) | |
tree | 2aaf9b88c657b57e87e561e34894ca39f016450b /user | |
parent | a2dca257ec33ce76e39059cdff1d80c80857e976 (diff) | |
download | apr-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 'user')
-rw-r--r-- | user/netware/groupinfo.c | 7 | ||||
-rw-r--r-- | user/unix/groupinfo.c | 7 | ||||
-rw-r--r-- | user/win32/groupinfo.c | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/user/netware/groupinfo.c b/user/netware/groupinfo.c index 530f25881..50b45bff6 100644 --- a/user/netware/groupinfo.c +++ b/user/netware/groupinfo.c @@ -75,3 +75,10 @@ APR_DECLARE(apr_status_t) apr_get_groupid(apr_gid_t *groupid, const char *groupn { return APR_ENOTIMPL; } + +/* Deprecated */ +APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, + apr_gid_t groupid, apr_pool_t *p) +{ + return apr_group_name_get(groupname, groupid, p); +} diff --git a/user/unix/groupinfo.c b/user/unix/groupinfo.c index a393a911a..8519b838f 100644 --- a/user/unix/groupinfo.c +++ b/user/unix/groupinfo.c @@ -105,3 +105,10 @@ APR_DECLARE(apr_status_t) apr_get_groupid(apr_gid_t *groupid, const char *groupn #endif return APR_SUCCESS; } + +/* Deprecated */ +APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, + apr_gid_t groupid, apr_pool_t *p) +{ + return apr_group_name_get(groupname, groupid, p); +} diff --git a/user/win32/groupinfo.c b/user/win32/groupinfo.c index 25c51af31..c0a2af4a3 100644 --- a/user/win32/groupinfo.c +++ b/user/win32/groupinfo.c @@ -136,3 +136,10 @@ APR_DECLARE(apr_status_t) apr_compare_groups(apr_gid_t left, apr_gid_t right) #endif return APR_SUCCESS; } + +/* Deprecated */ +APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, + apr_gid_t groupid, apr_pool_t *p) +{ + return apr_group_name_get(groupname, groupid, p); +} |