diff options
author | Mark Spencer <markster@digium.com> | 2003-09-13 20:51:48 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-09-13 20:51:48 +0000 |
commit | 56f915e783e003d027f0ee4674299080e4d893c8 (patch) | |
tree | 0e8008c721582afe7e8954a6be00bdba448be121 /include/asterisk/localtime.h | |
parent | c511b967eda76b558d96754f71f3755e49d39498 (diff) |
CLeanup PBX patch and add localtime stuff for saytime (bug #168)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/localtime.h')
-rwxr-xr-x | include/asterisk/localtime.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h new file mode 100755 index 000000000..320c293d7 --- /dev/null +++ b/include/asterisk/localtime.h @@ -0,0 +1,22 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * + * Custom localtime functions for multiple timezones + * + * Copyright (C) 2003, Mark Spencer + * + * Tilghman Lesher <tlesher@vcch.com> + * + * This program is free software, distributed under the terms of + * the GNU General Public License + */ + +#ifndef _ASTERISK_LOCALTIME_H +#define _ASTERISK_LOCALTIME_H + +extern int ast_tzsetwall(void); +extern void ast_tzset(const char *name); +extern struct tm *ast_localtime(const time_t *timep, struct tm *p_tm, const char *zone); +extern time_t ast_mktime(struct tm * const tmp, const char *zone); + +#endif |