#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 |
Typedefs | |
| typedef long | int_fast64_t |
Functions | |
| int unlink | P ((const char *filename)) |
| 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)) |
Variables | |
| int | errno |
| 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 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 getnum(), getrule(), and getzname().
| #define R_OK 4 |
Definition at line 120 of file private.h.
Referenced by main(), pbx_load_module(), and tzload().
| #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().
Definition at line 257 of file private.h.
Referenced by differ_by_repeat(), and time2sub().
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().
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().
| typedef long int_fast64_t |
| int unlink P | ( | (const char *filename) | ) |
| 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 errno |
Referenced by __adsi_transmit_messages(), __ast_answer(), __ast_channel_alloc_ap(), __ast_queue_frame(), __ast_read(), __mgcp_xmit(), __oh323_rtp_create(), __quit_handler(), __sip_xmit(), _hup_handler(), _sip_tcp_helper_thread(), accept_thread(), access_counter_file(), action_bridge(), action_command(), action_createconfig(), alloc_sub(), app_exec(), ast_add_extension2_lockopt(), ast_careful_fwrite(), ast_carefulwrite(), ast_channel_queryoption(), ast_channel_setoption(), ast_close_fds_above_n(), 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_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_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_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_with_duration(), ast_safe_fork(), ast_safe_system(), ast_select(), ast_streamfile(), ast_tcptls_client_create(), ast_tcptls_client_start(), 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_wait_for_output(), ast_waitfor_nandfds(), ast_waitfordigit_full(), ast_writefile(), ast_yy_init_buffer(), ast_yylex_init(), ast_yylex_init_extra(), auth_exec(), available(), base_encode(), bridge_p2p_rtp_write(), build_filename(), build_peer(), bump_gains(), careful_write(), cb_events(), chan_misdn_log(), check_for_conference(), check_srcaddr(), complete_dialplan_remove_extension(), complete_span_helper(), conf_add(), conf_del(), conf_run(), config_load(), config_text_file_load(), connect_sphinx(), copy(), create_jb(), 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_loopback(), dahdi_new(), dahdi_open(), dahdi_pri_error(), dahdi_pri_message(), 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_train_ec(), dahdi_translate(), dahdi_write(), dahdi_write_frame(), dbinit(), destroy_trans(), dial_exec_full(), 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(), find_cache(), find_table(), find_transcoders(), flash_exec(), g723_read(), g723_write(), g726_read(), g726_write(), g729_read(), g729_write(), gen_generate(), gen_nextfile(), get_alarms(), get_input(), get_to_address(), gsm_read(), gsm_seek(), gsm_write(), h263_read(), h263_write(), h264_read(), h264_write(), handle_bchan(), handle_callforward_button(), 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_gosub(), handle_hd_hf(), handle_init_event(), handle_offhook_message(), handle_register_message(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), hidthread(), httpd_helper_thread(), iax2_setoption(), iax2_write(), ices_exec(), iconv_read(), ilbc_read(), ilbc_write(), init_acf_query(), init_logger(), init_logger_chain(), inotify_daemon(), isdn_port_info(), jpeg_read_image(), jpeg_write_image(), kickptt(), launch_netscript(), launch_script(), leave_voicemail(), linkset_addsigchan(), listener(), load_config(), load_module(), logger_print_normal(), lookup_iface(), lua_read_extensions_file(), main(), make_logchannel(), mfcr2_monitor(), 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(), multiplexed_bridge_create(), multiplexed_thread_function(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_thread(), my_dahdi_write(), netconsole(), ogg_vorbis_rewrite(), openserial(), pbx_load_config(), pcm_read(), pcm_write(), phone_answer(), phone_hangup(), phone_mini_packet(), phone_read(), phone_write(), phoneprov_callback(), pri_create_trunkgroup(), pri_dchannel(), process_dahdi(), pthread_timer_disable_continuous(), pthread_timer_enable_continuous(), pthread_timer_open(), pthread_timer_set_rate(), pw_cb(), read_pipe(), readmimefile(), reload_config(), reload_firmware(), reload_logger(), reload_queue_members(), reset_conf(), restore_conference(), restore_gains(), rtp_socket(), run_agi(), run_ras(), safe_append(), save_conference(), scan_service(), scan_thread(), send_callerid(), send_packet(), session_do(), set_actual_rxgain(), set_actual_txgain(), set_config(), set_ulimit(), setdtr(), setformat(), setup_bc(), sip_alloc(), sip_check_authtimeout(), sip_tcptls_write(), sip_threadinfo_create(), sipsock_read(), siren14read(), siren14write(), siren7read(), siren7write(), skinny_session(), slinear_read(), slinear_write(), smdi_load(), smdi_toggle_mwi(), sms_generate(), sms_log(), socket_read(), spawn_mp3(), spy_generate(), ss7_linkset(), ss7_start_call(), ss_thread(), start_pri(), start_rtp(), static_callback(), store_config(), system_exec_helper(), t38_tx_packet_handler(), te_lib_init(), timerfd_timer_ack(), timerfd_timer_open(), timing_test(), to_number(), transmit_response(), transmit_trunk(), try_calling(), try_firmware(), try_load_key(), unistimsock_read(), usbradio_read(), usbradio_write(), vm_check_password_shell(), vox_read(), vox_write(), wait_result(), waitstream_core(), wav_close(), wav_read(), wav_seek(), wav_write(), write_byte(), write_history(), write_stream(), and writefile().
char privatehid[] = "@(#)private.h 8.3" [static] |