From e8f16d9929db4ffb8f68b52851071ecc2f38b6ac Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 6 Jan 2007 22:57:31 +0000 Subject: [PATCH] add switch_time_exp_gmt_get for mishehu git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3923 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_apr.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index 98e8f2d820..a833436a28 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -1084,6 +1084,15 @@ typedef apr_time_exp_t switch_time_exp_t; DoxyDefine(switch_time_t switch_time_now(void);) #define switch_time_now apr_time_now +/** + * Convert time value from human readable format to a numeric apr_time_t that + * always represents GMT + * @param result the resulting imploded time + * @param input the input exploded time + */ +DoxyDefine(switch_status_t switch_time_exp_gmt_get(switch_time_t *result, switch_time_exp_t *input);) +#define switch_time_exp_gmt_get apr_time_exp_gmt_get + /** * formats the exploded time according to the format specified * @param s string to write to