#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 | F_OK 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 | R_OK 4 |
| #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 |
Functions | |
| int unlink | P ((const char *filename)) |
| char *icalloc | P ((int nelem, int elsize)) |
| char *icatalloc | P ((char *old, const char *new)) |
| char *icpyalloc | P ((const char *string)) |
| char *imalloc | P ((int n)) |
| void *irealloc | P ((void *pointer, int size)) |
| void icfree | P ((char *pointer)) |
| const char *scheck | P ((const char *string, const char *format)) |
| 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 localsub(), and ast_get_dst_info().
| #define F_OK 0 |
Definition at line 117 of file private.h.
Referenced by main(), and sendfax_exec().
| #define FILENAME_MAX 1024 |
Definition at line 207 of file private.h.
Referenced by inotify_daemon(), add_notify(), tzload(), ast_monitor_start(), and ast_monitor_stop().
| #define GRANDPARENTED "Local time zone must be set--see zic manual page" |
| #define HAVE_STDINT_H |
(199901 <= __STDC_VERSION__ || \ 2 < (__GLIBC__ + (0 < __GLIBC_MINOR__)))
| #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 getzname(), getnum(), and getrule().
| #define R_OK 4 |
Definition at line 120 of file private.h.
Referenced by main(), tzload(), pbx_load_module(), and sendfax_exec().
| #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(), tzload(), and time2sub().
| #define TYPE_SIGNED | ( | type | ) | (((type) -1) < 0) |
Definition at line 261 of file private.h.
Referenced by differ_by_repeat(), tzload(), and time2sub().
Definition at line 108 of file private.h.
Referenced by run_ras(), and ast_safe_system().
Definition at line 105 of file private.h.
Referenced by run_ras(), and ast_safe_system().
| #define YEARSPERREPEAT 400 |
Definition at line 335 of file private.h.
Referenced by tzload(), localsub(), and ast_get_dst_info().
| int unlink P | ( | (const char *filename) | ) |
| char* icalloc P | ( | (int nelem, int elsize) | ) |
| char* icatalloc P | ( | (char *old, const char *new) | ) |
| char* icpyalloc P | ( | (const char *string) | ) |
| char* imalloc P | ( | (int n) | ) |
| void* irealloc P | ( | (void *pointer, int size) | ) |
| void ifree P | ( | (char *pointer) | ) |
| Please use a compiler that supports a bit integer type | ( | or | wider | ) |
| int errno |
Referenced by create_jb(), ast_linear_stream(), ast_lock_path_lockfile(), ast_unlock_path_lockfile(), ast_lock_path_flock(), ast_read_textfile(), ast_safe_fork(), auth_exec(), spy_generate(), careful_write(), conf_run(), run_ras(), dial_exec_full(), gen_nextfile(), gen_generate(), app_exec(), eivr_comm(), t38_tx_packet_handler(), fax_generator_generate(), festival_exec(), flash_exec(), ices_exec(), milliwatt_generate(), base_encode(), leave_voicemail(), load_config(), access_counter_file(), try_calling(), reload_queue_members(), setdtr(), openserial(), sms_log(), sms_generate(), handle_gosub(), system_exec_helper(), vm_check_password_shell(), copy(), to_number(), ast_yy_init_buffer(), ast_yylex_init(), ast_yylex_init_extra(), ast_safe_system(), netconsole(), listener(), ast_makesocket(), ast_tryconnect(), _hup_handler(), _child_handler(), set_ulimit(), __quit_handler(), ast_el_read_char(), ast_remotecontrol(), main(), multiplexed_bridge_create(), multiplexed_thread_function(), handle_cc_kill(), writefile(), csv_log(), custom_log(), my_get_callerid(), my_distinctive_ring(), my_handle_dtmf(), my_set_cadence(), my_all_subchannels_hungup(), my_new_pri_ast_channel(), my_pri_open_media(), my_is_off_hook(), my_dial_digits(), my_ss7_set_loopback(), my_new_ss7_ast_channel(), dahdi_open(), alloc_sub(), dahdi_digit_begin(), conf_add(), conf_del(), reset_conf(), dahdi_enable_ec(), dahdi_train_ec(), dahdi_disable_ec(), set_actual_txgain(), set_actual_rxgain(), bump_gains(), restore_gains(), dahdi_set_hook(), dahdi_confmute(), save_conference(), restore_conference(), send_callerid(), dahdi_call(), revert_fax_buffers(), dahdi_hangup(), dahdi_queryoption(), dahdi_setoption(), dahdi_func_write(), dahdi_ring_phone(), check_for_conference(), get_alarms(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_read(), my_dahdi_write(), dahdi_write(), dahdi_indicate(), analog_ss_thread(), mwi_thread(), mwi_send_process_buffer(), mwi_send_process_event(), handle_init_event(), do_monitor(), pri_create_trunkgroup(), device2chan(), mkintf(), dahdi_new_pri_nobch_channel(), duplicate_pseudo(), determine_starting_point(), dahdi_pri_message(), dahdi_pri_error(), prepare_pri(), complete_span_helper(), dahdi_show_channel(), dahdi_show_status(), dahdi_show_version(), dahdi_set_hwgain(), linkset_addsigchan(), process_dahdi(), dahdi_status_data_provider_get(), dahdi_version_data_provider_get(), dahdi_sendtext(), gtalk_update_externip(), __oh323_rtp_create(), try_firmware(), reload_firmware(), handle_error(), transmit_trunk(), send_packet(), iax2_setoption(), iax2_write(), socket_read(), check_srcaddr(), set_config(), find_cache(), __mgcp_xmit(), handle_hd_hf(), mgcpsock_read(), reload_config(), misdn_read(), cb_events(), chan_misdn_log(), setformat(), store_config(), phone_hangup(), phone_answer(), phone_read(), phone_write(), phone_mini_packet(), mkif(), sip_threadinfo_create(), sip_tcptls_write(), sip_check_authtimeout(), _sip_tcp_helper_thread(), __sip_xmit(), sipsock_read(), build_peer(), transmit_response(), handle_transfer_button(), handle_register_message(), handle_callforward_button(), handle_stimulus_message(), handle_offhook_message(), handle_enbloc_call_message(), handle_soft_key_event_message(), get_input(), skinny_session(), accept_thread(), config_load(), display_last_error(), get_to_address(), write_history(), start_rtp(), unistimsock_read(), kickptt(), hidthread(), usbradio_write(), usbradio_read(), __ast_channel_alloc_ap(), __ast_queue_frame(), __ast_answer(), ast_waitfor_nandfds(), ast_waitfordigit_full(), __ast_read(), ast_do_masquerade(), ast_channel_setoption(), ast_channel_queryoption(), dahdi_write_frame(), dahdi_encoder_frameout(), dahdi_decoder_frameout(), dahdi_translate(), find_transcoders(), config_text_file_load(), ast_config_text_file_save(), dbinit(), connect_sphinx(), wait_result(), ast_get_enum(), ast_get_txt(), action_bridge(), build_filename(), ast_filehelper(), ast_streamfile(), ast_readfile(), ast_writefile(), waitstream_core(), g719read(), g719write(), g723_read(), g723_write(), g726_read(), g726_write(), g729_read(), g729_write(), gsm_read(), gsm_write(), gsm_seek(), h263_read(), h263_write(), h264_read(), h264_write(), ilbc_read(), ilbc_write(), jpeg_read_image(), jpeg_write_image(), ogg_vorbis_rewrite(), write_stream(), pcm_read(), pcm_write(), siren14read(), siren14write(), siren7read(), siren7write(), slinear_read(), slinear_write(), vox_read(), vox_write(), wav_close(), wav_read(), wav_write(), wav_seek(), count_lines(), file2format(), file_read(), file_write(), iconv_read(), init_acf_query(), ast_http_send(), ast_read_image(), setup_bc(), misdn_tx_jitter(), handle_bchan(), fetch_msg(), te_lib_init(), inotify_daemon(), make_logchannel(), init_logger_chain(), logger_queue_restart(), logger_print_normal(), logger_queue_init(), action_createconfig(), action_command(), do_message(), session_do(), generic_http_callback(), auth_http_callback(), misdn_cfg_update_ptp(), ast_netsock_bindaddr(), ast_set_qos(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), ast_context_add_ignorepat2(), ast_add_extension2_lockopt(), ast_pbx_outgoing_app(), complete_dialplan_remove_extension(), handle_cli_dialplan_add_include(), handle_cli_dialplan_add_extension(), handle_cli_dialplan_add_ignorepat(), handle_cli_dialplan_remove_ignorepat(), pbx_load_config(), dundi_xmit(), destroy_trans(), dundi_lookup_internal(), dundi_precache_internal(), load_module(), lua_read_extensions_file(), safe_append(), scan_service(), queue_file(), scan_thread(), isdn_port_info(), __adsi_transmit_messages(), launch_netscript(), launch_script(), run_agi(), dispatch_thread_handler(), find_table(), pw_cb(), try_load_key(), generic_fax_exec(), readmimefile(), handle_cli_ulimit(), ast_monitor_change_fname(), ast_moh_files_next(), moh_files_generator(), spawn_mp3(), monmp3thread(), mohalloc(), moh_generate(), moh_scan_files(), init_app_class(), local_ast_moh_start(), moh_class_destructor(), lookup_iface(), cops_sendmsg(), create_new_socket(), ast_rtp_new(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_raw_write(), ast_rtcp_read(), bridge_p2p_rtp_write(), ast_rtp_read(), ast_rtp_sendcng(), multicast_rtp_write(), smdi_toggle_mwi(), smdi_load(), ast_srtp_unprotect(), stun_start_monitor(), _lookup_timer(), kqueue_timer_open(), pthread_timer_open(), pthread_timer_set_rate(), pthread_timer_enable_continuous(), pthread_timer_disable_continuous(), read_pipe(), write_byte(), timerfd_timer_open(), timerfd_timer_ack(), ast_select(), analog_call(), __analog_ss_thread(), __analog_handle_event(), analog_handle_init_event(), pri_dchannel(), sig_pri_start_pri(), ss7_linkset(), closefrom(), ast_tcptls_server_read(), ast_tcptls_server_write(), ast_tcptls_server_root(), ast_tcptls_client_start(), ast_tcptls_client_create(), ast_tcptls_server_start(), timing_test(), ast_udptl_read(), ast_udptl_new_with_bindaddr(), ast_udptl_write(), ast_pthread_create_stack(), ast_pthread_create_detached_stack(), ast_wait_for_output(), ast_carefulwrite(), ast_careful_fwrite(), and ast_mkdir().
| you may need to compile with DHAVE_STDINT_H typedef long int_fast64_t |
Definition at line 152 of file private.h.
Referenced by detzcode64(), localsub(), and ast_get_dst_info().
char privatehid[] = "@(#)private.h 8.3" [static] |