diff options
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 |