Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

localtime.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- A telephony toolkit for Linux.
00003  *
00004  * Custom localtime functions for multiple timezones
00005  * 
00006  * Copyright (C) 2003, Mark Spencer
00007  *
00008  * Tilghman Lesher <tlesher@vcch.com>
00009  *
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License
00012  */
00013 
00014 #ifndef _ASTERISK_LOCALTIME_H
00015 #define _ASTERISK_LOCALTIME_H
00016 
00017 extern int ast_tzsetwall(void);
00018 extern void ast_tzset(const char *name);
00019 extern struct tm *ast_localtime(const time_t *timep, struct tm *p_tm, const char *zone);
00020 extern time_t ast_mktime(struct tm * const tmp, const char *zone);
00021 extern char *ast_ctime(const time_t * const timep);
00022 extern char *ast_ctime_r(const time_t * const timep, char *buf);
00023 
00024 #endif

Generated on Sun Apr 18 23:33:52 2004 for Asterisk by doxygen 1.3.6-20040222