summaryrefslogtreecommitdiff
path: root/include/asterisk/localtime.h
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2008-01-09 21:37:26 +0000
committerTerry Wilson <twilson@digium.com>2008-01-09 21:37:26 +0000
commit3570ad103d9f37f60f2f1ac0e21bab02bd1051e7 (patch)
treea60d56d18dfd1b80f57e5bc99e3b1fc1c2999bfe /include/asterisk/localtime.h
parent46f4c8946f54f5ab04921c1d08dd5b4c808bccff (diff)
Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and variable substitution. It should be possible to create phone profiles and templates that work for the majority of phones provisioned over http. It is currently only intended to provision a single user account per phone. An example profile and set of templates for Polycom phones is provided. NOTE: Polycom firmware is not included, but should be placed in AST_DATA_DIR/phoneprov/configs to match up with the included templates. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/localtime.h')
-rw-r--r--include/asterisk/localtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h
index 25dd92e34..dd92871e9 100644
--- a/include/asterisk/localtime.h
+++ b/include/asterisk/localtime.h
@@ -41,6 +41,7 @@ struct ast_tm {
};
struct ast_tm *ast_localtime(const struct timeval *timep, struct ast_tm *p_tm, const char *zone);
+void ast_get_dst_info(const time_t * const timep, int *dst_enabled, time_t *dst_start, time_t *dst_end, int *gmt_off, const char * const zone);
struct timeval ast_mktime(struct ast_tm * const tmp, const char *zone);
int ast_strftime(char *buf, size_t len, const char *format, const struct ast_tm *tm);