Go to the source code of this file.
Functions | |
char * | ast_ctime (const time_t *const timep) |
char * | ast_ctime_r (const time_t *const timep, char *buf) |
struct tm * | ast_localtime (const time_t *timep, struct tm *p_tm, const char *zone) |
time_t | ast_mktime (struct tm *const tmp, const char *zone) |
void | ast_tzset (const char *name) |
int | ast_tzsetwall (void) |
Definition in file localtime.h.
char* ast_ctime | ( | const time_t *const | timep | ) |
char* ast_ctime_r | ( | const time_t *const | timep, | |
char * | buf | |||
) |
struct tm* ast_localtime | ( | const time_t * | timep, | |
struct tm * | p_tm, | |||
const char * | zone | |||
) | [read] |
Referenced by acf_strftime(), append_date(), ast_check_timing(), ast_log(), ast_say_date_da(), ast_say_date_de(), ast_say_date_en(), ast_say_date_fr(), ast_say_date_ge(), ast_say_date_gr(), ast_say_date_nl(), ast_say_date_pt(), ast_say_date_with_format_da(), ast_say_date_with_format_de(), ast_say_date_with_format_en(), ast_say_date_with_format_es(), ast_say_date_with_format_fr(), ast_say_date_with_format_gr(), ast_say_date_with_format_he(), ast_say_date_with_format_it(), ast_say_date_with_format_nl(), ast_say_date_with_format_pl(), ast_say_date_with_format_pt(), ast_say_date_with_format_tw(), ast_say_datetime_de(), ast_say_datetime_en(), ast_say_datetime_fr(), ast_say_datetime_from_now_en(), ast_say_datetime_from_now_fr(), ast_say_datetime_from_now_ge(), ast_say_datetime_from_now_pt(), ast_say_datetime_ge(), ast_say_datetime_gr(), ast_say_datetime_nl(), ast_say_datetime_pt(), ast_say_datetime_pt_BR(), ast_say_datetime_tw(), ast_say_time_de(), ast_say_time_en(), ast_say_time_fr(), ast_say_time_ge(), ast_say_time_gr(), ast_say_time_nl(), ast_say_time_pt(), ast_say_time_pt_BR(), ast_say_time_tw(), ast_verbose(), build_radius_record(), callerid_genmsg(), cdr_get_tv(), cli_prompt(), get_date(), iax2_datetime(), main(), manager_log(), odbc_log(), pgsql_log(), phone_call(), play_message_datetime(), rpt_localtime(), say_date_generic(), sip_show_registry(), sqlite_log(), transmit_notify_request_with_callerid(), vmu_tm(), and write_metadata().
time_t ast_mktime | ( | struct tm *const | tmp, | |
const char * | zone | |||
) |
Definition at line 1491 of file localtime.c.
Referenced by acf_strptime().
01494 { 01495 time_t mktime_return_value; 01496 #ifdef _THREAD_SAFE 01497 ast_mutex_lock(&lcl_mutex); 01498 #endif 01499 ast_tzset(!ast_strlen_zero(zone) ? zone : "/etc/localtime"); 01500 mktime_return_value = time1(tmp, localsub, 0L, !ast_strlen_zero(zone) ? zone : "/etc/localtime"); 01501 #ifdef _THREAD_SAFE 01502 ast_mutex_unlock(&lcl_mutex); 01503 #endif 01504 return(mktime_return_value); 01505 }
void ast_tzset | ( | const char * | name | ) |
Referenced by ast_localtime(), and ast_mktime().
int ast_tzsetwall | ( | void | ) |
Referenced by localsub(), and P().