aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-16 19:34:01 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-16 19:34:01 +0000
commite4085f9c75afdfdb9084816798ea5d19ad679eed (patch)
tree999ff06c1d84d02b22accde1ebfbb2a7138836ba /include
parent62efab186b2aa279e84ea45213bba0e099713f9b (diff)
Fix test_time on Mac OS X (and other platforms without inotify)
Reviewboard: https://reviewboard.asterisk.org/r/554/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252846 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/localtime.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h
index d9f98f836..8858c43a3 100644
--- a/include/asterisk/localtime.h
+++ b/include/asterisk/localtime.h
@@ -78,4 +78,11 @@ int ast_strftime(char *buf, size_t len, const char *format, const struct ast_tm
*/
char *ast_strptime(const char *s, const char *format, struct ast_tm *tm);
+/*!\brief Wakeup localtime monitor thread
+ * For use in testing. Normally, the failsafe monitor thread waits 60 seconds
+ * between checks to verify whether a timezone file has changed. This routine
+ * forces the monitor thread to wakeup immediately and check the timezone files.
+ */
+void ast_localtime_wakeup_monitor(void);
+
#endif /* _ASTERISK_LOCALTIME_H */