#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"
#include "stdint.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 | 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_SYMLINK 1 |
#define | HAVE_UTMPX_H 0 |
#define | INITIALIZE(x) ((x) = 0) |
#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 | 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 |
Functions | |
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)) |
Please use a compiler that supports a bit integer | type (or wider) |
Variables | |
int | errno |
you may need to compile with DHAVE_STDINT_H typedef long | int_fast64_t |
static char | privatehid [] = "@(#)private.h 8.3" |
#define AVGSECSPERYEAR 31556952L |
Definition at line 343 of file private.h.
Referenced by ast_get_dst_info(), and localsub().
#define FILENAME_MAX 1024 |
Definition at line 207 of file private.h.
Referenced by add_notify(), ast_monitor_start(), ast_monitor_stop(), inotify_daemon(), and tzload().
#define GRANDPARENTED "Local time zone must be set--see zic manual page" |
#define INITIALIZE | ( | x | ) | ((x) = 0) |
Definition at line 302 of file private.h.
Referenced by transtime(), and tzparse().
#define INT_STRLEN_MAXIMUM | ( | type | ) |
((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \ 1 + TYPE_SIGNED(type))
#define is_digit | ( | c | ) | ((unsigned)(c) - '0' <= 9) |
Definition at line 125 of file private.h.
Referenced by getnum(), getrule(), and getzname().
#define SECSPERREPEAT ((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR) |
Definition at line 347 of file private.h.
Referenced by differ_by_repeat().
#define SECSPERREPEAT_BITS 34 |
Definition at line 351 of file private.h.
Referenced by differ_by_repeat().
#define TYPE_BIT | ( | type | ) | (sizeof (type) * CHAR_BIT) |
Definition at line 257 of file private.h.
Referenced by differ_by_repeat(), and time2sub().
#define TYPE_INTEGRAL | ( | type | ) | (((type) 0.5) != 0.5) |
Definition at line 270 of file private.h.
Referenced by differ_by_repeat(), time2sub(), and tzload().
#define TYPE_SIGNED | ( | type | ) | (((type) -1) < 0) |
Definition at line 261 of file private.h.
Referenced by differ_by_repeat(), time2sub(), and tzload().
Definition at line 108 of file private.h.
Referenced by ast_safe_system(), and run_ras().
Definition at line 105 of file private.h.
Referenced by ast_safe_system(), and run_ras().
#define YEARSPERREPEAT 400 |
Definition at line 335 of file private.h.
Referenced by ast_get_dst_info(), localsub(), and tzload().
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) | ) |
Please use a compiler that supports a bit integer type | ( | or | wider | ) |
int errno |
Referenced by __adsi_transmit_messages(), __analog_handle_event(), __analog_ss_thread(), __ast_answer(), __ast_channel_alloc_ap(), __ast_queue_frame(), __ast_read(), __mgcp_xmit(), __oh323_rtp_create(), __quit_handler(), __sip_xmit(), _child_handler(), _hup_handler(), _lookup_timer(), _sip_tcp_helper_thread(), accept_thread(), access_counter_file(), action_bridge(), action_command(), action_createconfig(), alloc_sub(), analog_call(), analog_handle_init_event(), analog_ss_thread(), app_exec(), ast_add_extension2_lockopt(), ast_careful_fwrite(), ast_carefulwrite(), ast_channel_queryoption(), ast_channel_setoption(), ast_config_text_file_save(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), ast_do_masquerade(), ast_el_read_char(), ast_filehelper(), ast_get_enum(), ast_get_txt(), ast_http_send(), ast_linear_stream(), ast_lock_path_flock(), ast_lock_path_lockfile(), ast_makesocket(), ast_mkdir(), ast_moh_files_next(), ast_monitor_change_fname(), ast_netsock_bindaddr(), ast_parse_arg(), ast_pbx_outgoing_app(), ast_pthread_create_detached_stack(), ast_pthread_create_stack(), ast_read_image(), ast_read_textfile(), ast_readfile(), ast_remotecontrol(), ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_new(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_sendcng(), ast_safe_fork(), ast_safe_system(), ast_select(), ast_set_qos(), ast_srtp_unprotect(), ast_streamfile(), ast_stun_request(), ast_tcptls_client_create(), ast_tcptls_client_start(), ast_tcptls_close_session_file(), ast_tcptls_server_read(), ast_tcptls_server_root(), ast_tcptls_server_start(), ast_tcptls_server_write(), ast_tryconnect(), ast_udptl_new_with_bindaddr(), ast_udptl_read(), ast_udptl_write(), ast_unlock_path_lockfile(), ast_waitfor_nandfds(), ast_waitfordigit_full(), ast_writefile(), ast_yy_init_buffer(), ast_yylex_init(), ast_yylex_init_extra(), au_seek(), au_trunc(), auth_exec(), auth_http_callback(), base_encode(), bridge_p2p_rtp_write(), bump_gains(), careful_write(), cb_events(), chan_misdn_log(), check_for_conference(), check_srcaddr(), close_mansession_file(), closefrom(), conf_add(), conf_del(), conf_run(), config_load(), config_text_file_load(), connect_sphinx(), cops_sendmsg(), copy(), count_lines(), create_jb(), create_new_socket(), csv_log(), custom_log(), dahdi_call(), dahdi_confmute(), dahdi_decoder_frameout(), dahdi_digit_begin(), dahdi_disable_ec(), dahdi_enable_ec(), dahdi_encoder_frameout(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_open(), dahdi_queryoption(), dahdi_read(), dahdi_ring_phone(), dahdi_sendtext(), dahdi_set_hook(), dahdi_set_hwgain(), dahdi_setoption(), dahdi_show_channel(), dahdi_show_status(), dahdi_show_version(), dahdi_status_data_provider_get(), dahdi_train_ec(), dahdi_translate(), dahdi_version_data_provider_get(), dahdi_write(), dahdi_write_frame(), dbinit(), destroy_trans(), determine_starting_point(), device2chan(), dispatch_thread_handler(), display_last_error(), do_message(), do_monitor(), dundi_lookup_internal(), dundi_precache_internal(), dundi_xmit(), duplicate_pseudo(), eivr_comm(), fax_generator_generate(), festival_exec(), fetch_msg(), file2format(), file_read(), file_write(), find_cache(), find_transcoders(), flash_exec(), g719read(), g719seek(), g719trunc(), g719write(), g723_read(), g723_trunc(), g723_write(), g726_read(), g726_write(), g729_read(), g729_trunc(), g729_write(), gen_generate(), gen_nextfile(), generic_fax_exec(), generic_http_callback(), get_alarms(), get_input(), get_to_address(), gsm_read(), gsm_seek(), gsm_tell(), gsm_trunc(), gsm_write(), gtalk_update_externip(), h263_read(), h263_trunc(), h263_write(), h264_read(), h264_trunc(), h264_write(), handle_callforward_button(), handle_cc_kill(), handle_cli_dialplan_add_extension(), handle_cli_dialplan_add_ignorepat(), handle_cli_dialplan_add_include(), handle_cli_dialplan_remove_ignorepat(), handle_cli_ulimit(), handle_enbloc_call_message(), handle_error(), handle_hd_hf(), handle_init_event(), handle_offhook_message(), handle_register_message(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), httpd_helper_thread(), iax2_setoption(), iax2_write(), ices_exec(), iconv_read(), ilbc_read(), ilbc_trunc(), ilbc_write(), init_app_class(), init_logger_chain(), inotify_daemon(), isdn_port_info(), jpeg_read_image(), jpeg_write_image(), kqueue_timer_open(), launch_asyncagi(), launch_netscript(), launch_script(), leave_voicemail(), listener(), load_config(), load_module(), local_ast_moh_start(), logger_print_normal(), logger_queue_init(), logger_queue_restart(), lookup_iface(), lua_read_extensions_file(), main(), make_logchannel(), mgcpsock_read(), milliwatt_generate(), misdn_cfg_update_ptp(), misdn_read(), misdn_tx_jitter(), mkif(), mkintf(), moh_class_destructor(), moh_files_generator(), moh_generate(), moh_scan_files(), mohalloc(), monmp3thread(), multicast_rtp_write(), multiplexed_bridge_create(), multiplexed_thread_function(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_thread(), my_all_subchannels_hungup(), my_dahdi_write(), my_dial_digits(), my_distinctive_ring(), my_get_callerid(), my_handle_dtmf(), my_is_off_hook(), my_set_cadence(), netconsole(), ogg_vorbis_rewrite(), pbx_load_config(), pcm_read(), pcm_seek(), pcm_trunc(), pcm_write(), phone_answer(), phone_hangup(), phone_mini_packet(), phone_read(), phone_write(), process_dahdi(), pthread_timer_disable_continuous(), pthread_timer_enable_continuous(), pthread_timer_open(), pthread_timer_set_rate(), pw_cb(), queue_file(), readmimefile(), reload_config(), reload_firmware(), reload_queue_members(), reset_conf(), restore_conference(), restore_gains(), revert_fax_buffers(), run_agi(), run_ras(), safe_append(), save_conference(), scan_service(), scan_thread(), send_callerid(), send_packet(), sendmail(), session_do(), set_actual_rxgain(), set_actual_txgain(), set_config(), set_ulimit(), setformat(), setup_bc(), signal_pipe(), sip_check_authtimeout(), sip_tcptls_read(), sip_tcptls_write(), sip_threadinfo_create(), sipsock_read(), siren14read(), siren14seek(), siren14trunc(), siren14write(), siren7read(), siren7seek(), siren7trunc(), siren7write(), skinny_session(), slinear_read(), slinear_seek(), slinear_trunc(), slinear_write(), smdi_load(), smdi_toggle_mwi(), sms_generate(), sms_log(), socket_read(), spawn_mp3(), spy_generate(), start_rtp(), store_config(), stun_monitor_request(), system_exec_helper(), t38_tx_packet_handler(), tcptls_stream_close(), tcptls_stream_read(), tcptls_stream_write(), te_lib_init(), timerfd_timer_ack(), timerfd_timer_open(), timing_test(), to_number(), transmit_response(), transmit_trunk(), try_firmware(), try_load_key(), unistimsock_read(), unload_module(), unsignal_pipe(), update_header(), vm_check_password_shell(), vox_read(), vox_seek(), vox_trunc(), vox_write(), wait_for_output(), wait_result(), waitstream_core(), wav_close(), wav_read(), wav_seek(), wav_trunc(), wav_write(), write_history(), write_stream(), and writefile().
you may need to compile with DHAVE_STDINT_H typedef long int_fast64_t |
Definition at line 152 of file private.h.
Referenced by ast_get_dst_info(), detzcode64(), and localsub().
char privatehid[] = "@(#)private.h 8.3" [static] |