summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorThom May <thommay@apache.org>2002-11-20 03:50:23 +0000
committerThom May <thommay@apache.org>2002-11-20 03:50:23 +0000
commit79106b3bfe967386805002cd6952e8eb0bd4a274 (patch)
tree970704b99664fde6f1803a70c4287a9326c2b7c4 /time
parent2479ef9e4fe9a3aca25b9cb8efc3beefa7e0c497 (diff)
downloadapr-79106b3bfe967386805002cd6952e8eb0bd4a274.tar.gz
*) Renames done (deprecated functions wrapped):
apr_filename_of_pathname -> apr_filepath_name_get apr_get_groupid -> apr_gid_get apr_get_groupname -> apr_gid_name_get apr_compare_groups -> apr_gid_compare apr_parse_addr_port -> apr_port_addr_parse apr_shutdown -> apr_socket_shutdown apr_bind -> apr_socket_bind apr_listen -> apr_socket_listen apr_accept -> apr_socket_accept apr_connect -> apr_socket_connect apr_send -> apr_socket_send apr_sendv -> apr_socket_sendv apr_sendto -> apr_socket_sendto apr_implode_gmt -> apr_time_exp_gmt_get apr_get_home_directory -> apr_uid_homepath_get apr_get_userid -> apr_uid_get apr_current_userid -> apr_uid_current apr_compare_users -> apr_uid_compare apr_get_username -> apr_uid_name_get apr_recvfrom -> apr_socket_recvfrom apr_sendfile -> apr_socket_sendfile apr_recv -> apr_socket_recv git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64043 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c10
-rw-r--r--time/win32/time.c12
2 files changed, 19 insertions, 3 deletions
diff --git a/time/unix/time.c b/time/unix/time.c
index 2669f30cf..409cc2d15 100644
--- a/time/unix/time.c
+++ b/time/unix/time.c
@@ -203,7 +203,8 @@ APR_DECLARE(apr_status_t) apr_time_exp_get(apr_time_t *t, apr_time_exp_t *xt)
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t, apr_time_exp_t *xt)
+APR_DECLARE(apr_status_t) apr_time_exp_gmt_get(apr_time_t *t,
+ apr_time_exp_t *xt)
{
apr_status_t status = apr_time_exp_get(t, xt);
if (status == APR_SUCCESS)
@@ -384,3 +385,10 @@ APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
{
return apr_time_exp_lt(result, input);
}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t, apr_time_exp_t *xt)
+{
+ return apr_time_exp_gmt_get(t, xt);
+}
+
diff --git a/time/win32/time.c b/time/win32/time.c
index 94d92602e..b79602955 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -223,8 +223,8 @@ APR_DECLARE(apr_status_t) apr_time_exp_get(apr_time_t *t,
return APR_SUCCESS;
}
-APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t,
- apr_time_exp_t *xt)
+APR_DECLARE(apr_status_t) apr_time_exp_gmt_get(apr_time_t *t,
+ apr_time_exp_t *xt)
{
apr_status_t status = apr_time_exp_get(t, xt);
if (status == APR_SUCCESS)
@@ -319,3 +319,11 @@ APR_DECLARE(apr_status_t) apr_explode_localtime(apr_time_exp_t *result,
{
return apr_time_exp_lt(result, input);
}
+
+/* Deprecated */
+APR_DECLARE(apr_status_t) apr_implode_gmt(apr_time_t *t,
+ apr_time_exp_t *xt)
+{
+ return apr_time_exp_gmt_get(t, xt);
+}
+