diff options
Diffstat (limited to 'include/asterisk/localtime.h')
-rw-r--r-- | include/asterisk/localtime.h | 7 |
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 */ |