#include "sys/types.h"
#include "stdio.h"
#include "errno.h"
#include "string.h"
#include "limits.h"
#include "time.h"
#include "stdlib.h"
#include <sys/wait.h>
#include "unistd.h"
Go to the source code of this file.
Defines | |
#define | _(msgid) msgid |
#define | AVGSECSPERYEAR 31556952L |
#define | EXIT_FAILURE 1 |
#define | EXIT_SUCCESS 0 |
#define | FALSE 0 |
#define | FILENAME_MAX 1024 |
#define | GNUC_or_lint |
#define | GRANDPARENTED "Local time zone must be set--see zic manual page" |
#define | HAVE_ADJTIME 1 |
#define | HAVE_GETTEXT 0 |
#define | HAVE_INCOMPATIBLE_CTIME_R 0 |
#define | HAVE_SETTIMEOFDAY 3 |
#define | HAVE_STDINT_H |
#define | HAVE_STRERROR 1 |
#define | HAVE_SYMLINK 1 |
#define | HAVE_SYS_STAT_H 1 |
#define | HAVE_SYS_WAIT_H 1 |
#define | HAVE_UNISTD_H 1 |
#define | HAVE_UTMPX_H 0 |
#define | INITIALIZE(x) ((x) = 0) |
#define | INT32_MAX 0x7fffffff |
#define | INT32_MIN (-1 - INT32_MAX) |
#define | INT_STRLEN_MAXIMUM(type) |
#define | is_digit(c) ((unsigned)(c) - '0' <= 9) |
#define | LOCALE_HOME "/usr/lib/locale" |
#define | P(x) x |
#define | remove unlink |
#define | SECSPERREPEAT ((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR) |
#define | SECSPERREPEAT_BITS 34 |
#define | TRUE 1 |
#define | TYPE_BIT(type) (sizeof (type) * CHAR_BIT) |
#define | TYPE_INTEGRAL(type) (((type) 0.5) != 0.5) |
#define | TYPE_SIGNED(type) (((type) -1) < 0) |
#define | TZ_DOMAIN "tz" |
#define | WEXITSTATUS(status) (((status) >> 8) & 0xff) |
#define | WIFEXITED(status) (((status) & 0xff) == 0) |
#define | YEARSPERREPEAT 400 |
Typedefs | |
typedef long | int_fast64_t |
Functions | |
static char | __attribute__ ((unused)) privatehid[] |
const char *scheck | P ((const char *string, const char *format)) |
void icfree | P ((char *pointer)) |
void *irealloc | P ((void *pointer, int size)) |
char *imalloc | P ((int n)) |
char *icpyalloc | P ((const char *string)) |
char *icatalloc | P ((char *old, const char *new)) |
char *icalloc | P ((int nelem, int elsize)) |
int unlink | P ((const char *filename)) |
Variables | |
int | errno |
#define AVGSECSPERYEAR 31556952L |
#define FILENAME_MAX 1024 |
Definition at line 207 of file private.h.
Referenced by ast_monitor_start(), ast_monitor_stop(), and tzload().
#define GRANDPARENTED "Local time zone must be set--see zic manual page" |
#define HAVE_STDINT_H |
#define INITIALIZE | ( | x | ) | ((x) = 0) |
#define INT_STRLEN_MAXIMUM | ( | type | ) |
Value:
((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \ 1 + TYPE_SIGNED(type))
#define is_digit | ( | c | ) | ((unsigned)(c) - '0' <= 9) |
#define SECSPERREPEAT ((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR) |
#define SECSPERREPEAT_BITS 34 |
Definition at line 270 of file private.h.
Referenced by differ_by_repeat(), time2sub(), and tzload().
Definition at line 261 of file private.h.
Referenced by differ_by_repeat(), time2sub(), and tzload().
#define WEXITSTATUS | ( | status | ) | (((status) >> 8) & 0xff) |
#define WIFEXITED | ( | status | ) | (((status) & 0xff) == 0) |
#define YEARSPERREPEAT 400 |
typedef long int_fast64_t |
static char __attribute__ | ( | (unused) | ) | [static] |
const char* scheck P | ( | (const char *string, const char *format) | ) |
void ifree P | ( | (char *pointer) | ) |
void* irealloc P | ( | (void *pointer, int size) | ) |
char* imalloc P | ( | (int n) | ) |
char* icpyalloc P | ( | (const char *string) | ) |
char* icatalloc P | ( | (char *old, const char *new) | ) |
char* icalloc P | ( | (int nelem, int elsize) | ) |
int unlink P | ( | (const char *filename) | ) |
int errno |
Referenced by __adsi_transmit_messages(), __ast_read(), __mgcp_xmit(), __oh323_rtp_create(), __sip_xmit(), accept_thread(), action_bridge(), alloc_sub(), app_exec(), ast_add_extension2(), ast_carefulwrite(), ast_channel_setoption(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), ast_el_read_char(), ast_filehelper(), ast_get_enum(), ast_get_txt(), ast_linear_stream(), ast_lock_path(), ast_log(), ast_lookup_iface(), ast_makesocket(), ast_moh_files_next(), ast_monitor_start(), ast_netsock_bindaddr(), ast_pbx_outgoing_app_uniqueid(), ast_pthread_create_stack(), ast_queue_frame(), ast_read_image(), ast_read_textfile(), ast_readfile(), ast_remotecontrol(), ast_rtcp_new(), ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_new_with_bindaddr(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_sendcng(), ast_rtp_senddigit_begin(), ast_rtp_senddigit_continuation(), ast_rtp_senddigit_end(), ast_safe_system(), ast_streamfile(), ast_tryconnect(), ast_udptl_new_with_bindaddr(), ast_udptl_read(), ast_udptl_write(), ast_unlock_path(), ast_waitfor_nandfds(), ast_waitfordigit_full(), ast_writefile(), ast_yy_init_buffer(), ast_yylex_init(), auth_exec(), base_encode(), bridge_p2p_rtp_write(), bump_gains(), careful_write(), cb_events(), chan_misdn_log(), chandup(), check_srcaddr(), conf_run(), config_text_file_load(), config_text_file_save(), copy(), create_dirpath(), csv_log(), custom_log(), dbinit(), do_monitor(), dundi_lookup_internal(), dundi_xmit(), fetch_msg(), flash_exec(), g723_read(), g723_write(), g726_read(), g726_write(), g729_read(), g729_write(), gen_generate(), gen_nextfile(), get_input(), gsm_read(), gsm_write(), h263_read(), h263_write(), h264_read(), h264_write(), handle_bchan(), handle_context_add_extension(), handle_context_add_extension_deprecated(), handle_context_add_ignorepat(), handle_context_add_ignorepat_deprecated(), handle_context_add_include(), handle_context_add_include_deprecated(), handle_context_remove_ignorepat(), handle_context_remove_ignorepat_deprecated(), handle_enbloc_call_message(), handle_error(), handle_hd_hf(), handle_init_event(), handle_offhook_message(), handle_soft_key_event_message(), handle_stimulus_message(), http_root(), http_server_start(), iax2_setoption(), iax2_write(), ices_exec(), ilbc_read(), ilbc_write(), init_logger(), init_logger_chain(), init_manager(), isdn_port_info(), jpeg_read_image(), jpeg_write_image(), launch_netscript(), launch_script(), leave_voicemail(), listener(), load_module(), main(), make_logchannel(), mgcpsock_read(), milliwatt_generate(), misdn_cfg_update_ptp(), misdn_read(), mkif(), mkintf(), moh_files_generator(), moh_generate(), mohalloc(), my_zt_write(), netconsole(), openserial(), pcm_read(), pcm_write(), phone_answer(), phone_hangup(), phone_mini_packet(), phone_read(), phone_write(), reload_config(), reload_firmware(), reload_logger(), reload_queue_members(), remove_from_queue(), restore_conference(), restore_gains(), run_agi(), run_ras(), safe_append(), save_conference(), scan_service(), scan_thread(), send_callerid(), send_packet(), set_actual_rxgain(), set_actual_txgain(), set_config(), setformat(), setup_bc(), sip_alloc(), sipsock_read(), skinny_session(), slinear_read(), slinear_write(), smdi_load(), smdi_toggle_mwi(), sms_generate(), socket_read(), sound_thread(), spawn_mp3(), ss_thread(), system_exec_helper(), te_lib_init(), to_integer(), transmit_response(), transmit_trunk(), try_firmware(), try_load_key(), vox_read(), vox_write(), waitstream_core(), wav_read(), wav_write(), writefile(), zap_destroy(), zap_frameout(), zap_show_status(), zap_translate(), zt_call(), zt_confmute(), zt_enable_ec(), zt_handle_event(), zt_indicate(), zt_open(), zt_read(), zt_ring_phone(), zt_set_hook(), zt_setoption(), zt_tdd_sendtext(), and zt_write().