RTS API Documentation  1.10.11
Macros | Typedefs
switch_platform.h File Reference

Platform Specific Header. More...

#include <stdio.h>
#include <inttypes.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
+ Include dependency graph for switch_platform.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SWITCH_USE_CLOCK_FUNCS
 
#define SWITCH_VA_NONE   "%s", ""
 
#define __SWITCH_FUNC__   (const char *)__func__
 
#define PACKED   __attribute__ ((__packed__))
 
#define __LITTLE_ENDIAN   1234
 
#define __BIG_ENDIAN   4321
 
#define __BYTE_ORDER   __LITTLE_ENDIAN
 
#define O_BINARY   0
 
#define SWITCH_DECLARE(type)   type
 
#define SWITCH_DECLARE_NONSTD(type)   type
 
#define SWITCH_DECLARE_DATA
 
#define SWITCH_MOD_DECLARE(type)   type
 
#define SWITCH_MOD_DECLARE_NONSTD(type)   type
 
#define SWITCH_MOD_DECLARE_DATA
 
#define SWITCH_DECLARE_CLASS
 
#define SWITCH_THREAD_FUNC
 
#define SWITCH_DECLARE_CONSTRUCTOR   SWITCH_DECLARE_DATA
 
#define DoxyDefine(x)
 
#define PRINTF_FUNCTION(fmtstr, vars)
 
#define SWITCH_SSIZE_T_FMT   (sizeof (switch_ssize_t) == sizeof (long) ? "ld" : sizeof (switch_ssize_t) == sizeof (int) ? "d" : "lld")
 
#define SWITCH_SIZE_T_FMT   (sizeof (switch_size_t) == sizeof (long) ? "lu" : sizeof (switch_size_t) == sizeof (int) ? "u" : "llu")
 
#define SWITCH_INT64_T_FMT   (sizeof (long) == 8 ? "ld" : "lld")
 
#define SWITCH_UINT64_T_FMT   (sizeof (long) == 8 ? "lu" : "llu")
 
#define TIME_T_FMT   "ld"
 
#define SWITCH_TIME_T_FMT   SWITCH_INT64_T_FMT
 
#define FALSE   0
 
#define TRUE   (!FALSE)
 
#define switch_assert(expr)   assert(expr)
 
#define _In_
 
#define _In_z_
 
#define _In_opt_z_
 
#define _In_opt_
 
#define _Printf_format_string_
 
#define _Ret_opt_z_
 
#define _Ret_z_
 
#define _Out_opt_
 
#define _Out_
 
#define _Check_return_
 
#define _Inout_
 
#define _Inout_opt_
 
#define _In_bytecount_(x)
 
#define _Out_opt_bytecapcount_(x)
 
#define _Out_bytecapcount_(x)
 
#define _Ret_
 
#define _Post_z_
 
#define _Out_cap_(x)
 
#define _Out_z_cap_(x)
 
#define _Out_ptrdiff_cap_(x)
 
#define _Out_opt_ptrdiff_cap_(x)
 
#define _Post_count_(x)
 
#define GCC_DIAG_OFF(x)
 
#define GCC_DIAG_ON(x)
 

Typedefs

typedef int32_t switch_int32_t
 
typedef uintptr_t switch_size_t
 
typedef intptr_t switch_ssize_t
 

Detailed Description

Platform Specific Header.

Definition in file switch_platform.h.

Macro Definition Documentation

◆ __BIG_ENDIAN

#define __BIG_ENDIAN   4321

Definition at line 133 of file switch_platform.h.

Referenced by process_rtcp_report().

◆ __BYTE_ORDER

#define __BYTE_ORDER   __LITTLE_ENDIAN

Definition at line 145 of file switch_platform.h.

◆ __LITTLE_ENDIAN

#define __LITTLE_ENDIAN   1234

Definition at line 130 of file switch_platform.h.

◆ __SWITCH_FUNC__

#define __SWITCH_FUNC__   (const char *)__func__

◆ _Check_return_

#define _Check_return_

Definition at line 362 of file switch_platform.h.

◆ _In_

#define _In_

Definition at line 353 of file switch_platform.h.

Referenced by switch_false().

◆ _In_bytecount_

#define _In_bytecount_ (   x)

Definition at line 365 of file switch_platform.h.

◆ _In_opt_

#define _In_opt_

Definition at line 356 of file switch_platform.h.

Referenced by switch_false().

◆ _In_opt_z_

#define _In_opt_z_

Definition at line 355 of file switch_platform.h.

◆ _In_z_

#define _In_z_

Definition at line 354 of file switch_platform.h.

◆ _Inout_

#define _Inout_

Definition at line 363 of file switch_platform.h.

◆ _Inout_opt_

#define _Inout_opt_

Definition at line 364 of file switch_platform.h.

◆ _Out_

#define _Out_

Definition at line 361 of file switch_platform.h.

◆ _Out_bytecapcount_

#define _Out_bytecapcount_ (   x)

Definition at line 367 of file switch_platform.h.

◆ _Out_cap_

#define _Out_cap_ (   x)

Definition at line 370 of file switch_platform.h.

◆ _Out_opt_

#define _Out_opt_

Definition at line 360 of file switch_platform.h.

◆ _Out_opt_bytecapcount_

#define _Out_opt_bytecapcount_ (   x)

Definition at line 366 of file switch_platform.h.

Referenced by switch_false().

◆ _Out_opt_ptrdiff_cap_

#define _Out_opt_ptrdiff_cap_ (   x)

Definition at line 373 of file switch_platform.h.

◆ _Out_ptrdiff_cap_

#define _Out_ptrdiff_cap_ (   x)

Definition at line 372 of file switch_platform.h.

◆ _Out_z_cap_

#define _Out_z_cap_ (   x)

Definition at line 371 of file switch_platform.h.

◆ _Post_count_

#define _Post_count_ (   x)

Definition at line 374 of file switch_platform.h.

◆ _Post_z_

#define _Post_z_

Definition at line 369 of file switch_platform.h.

◆ _Printf_format_string_

#define _Printf_format_string_

Definition at line 357 of file switch_platform.h.

◆ _Ret_

#define _Ret_

Definition at line 368 of file switch_platform.h.

◆ _Ret_opt_z_

#define _Ret_opt_z_

Definition at line 358 of file switch_platform.h.

◆ _Ret_z_

#define _Ret_z_

Definition at line 359 of file switch_platform.h.

◆ DoxyDefine

#define DoxyDefine (   x )

Definition at line 209 of file switch_platform.h.

◆ FALSE

#define FALSE   0

◆ GCC_DIAG_OFF

#define GCC_DIAG_OFF (   x)

Definition at line 390 of file switch_platform.h.

◆ GCC_DIAG_ON

#define GCC_DIAG_ON (   x)

Definition at line 391 of file switch_platform.h.

◆ O_BINARY

#define O_BINARY   0

Definition at line 185 of file switch_platform.h.

Referenced by switch_simple_email().

◆ PACKED

#define PACKED   __attribute__ ((__packed__))

Definition at line 120 of file switch_platform.h.

◆ PRINTF_FUNCTION

#define PRINTF_FUNCTION (   fmtstr,
  vars 
)

Definition at line 214 of file switch_platform.h.

◆ switch_assert

#define switch_assert (   expr)    assert(expr)

Definition at line 347 of file switch_platform.h.

Referenced by _switch_core_session_request_video_refresh(), add_uuid(), add_xml_header(), calc_bw_exp(), chat_process_event(), chat_queue_message(), check_channel_status(), check_jb(), check_jb_sync(), clear_ice(), core_event_handler(), create_device_record(), daemonize(), do_dtls(), do_shutdown(), API::executeString(), gen_ice(), generate_m(), get_addr(), get_addr6(), get_file_size(), get_media_profile_name(), ice_out(), IVRMenu::IVRMenu(), json_add_child_array(), json_add_child_obj(), json_add_child_string(), load_mime_types(), main(), merge_recording_variables(), mkcert(), msrp_find_uuid(), msrp_listener(), msrp_parse_buffer(), msrp_parse_headers(), msrp_worker(), my_dup(), new_header(), new_node(), pack_check_over(), parse_img_fit(), parse_img_position(), parse_lifetime_mki(), perform_write(), push_to_top(), read_rtcp_packet(), read_rtp_packet(), sb_on_dtmf(), signal_bridge_on_hibernate(), switch_agc_create(), switch_agc_destroy(), switch_agc_set_energy_avg(), switch_agc_set_energy_low(), switch_amp_encode(), switch_api_execute(), switch_buffer_write(), switch_buffer_zero(), switch_cache_db_create_schema(), switch_cache_db_execute_sql_chunked(), switch_cache_db_test_reactive_ex(), switch_caller_extension_add_application(), switch_caller_profile_dup(), switch_caller_profile_new(), switch_change_sln_volume(), switch_change_sln_volume_granular(), switch_channel_add_state_handler(), switch_channel_add_variable_var_check(), switch_channel_alloc(), switch_channel_build_param_string(), switch_channel_caller_extension_masquerade(), switch_channel_clear_app_flag_key(), switch_channel_clear_cap(), switch_channel_clear_flag(), switch_channel_clear_flag_partner(), switch_channel_clear_flag_recursive(), switch_channel_clear_private_flag(), switch_channel_clear_state_flag(), switch_channel_clear_state_handler(), switch_channel_event_set_extended_data(), switch_channel_execute_on_value(), switch_channel_expand_variables_check(), switch_channel_export_variable_printf(), switch_channel_get_caller_extension(), switch_channel_get_caller_profile(), switch_channel_get_log_tags(), switch_channel_get_name(), switch_channel_get_originatee_caller_profile(), switch_channel_get_origination_caller_profile(), switch_channel_get_originator_caller_profile(), switch_channel_get_private(), switch_channel_get_private_partner(), switch_channel_get_running_state(), switch_channel_get_session(), switch_channel_get_state(), switch_channel_get_state_handler(), switch_channel_get_uuid(), switch_channel_get_variable_dup(), switch_channel_get_variable_partner(), switch_channel_init(), switch_channel_pass_callee_id(), switch_channel_perform_answer(), switch_channel_perform_hangup(), switch_channel_perform_mark_answered(), switch_channel_perform_pre_answer(), switch_channel_perform_ring_ready_value(), switch_channel_perform_set_state(), switch_channel_queue_dtmf(), switch_channel_set_app_flag_key(), switch_channel_set_caller_extension(), switch_channel_set_caller_profile(), switch_channel_set_cap_value(), switch_channel_set_flag_partner(), switch_channel_set_flag_recursive(), switch_channel_set_flag_value(), switch_channel_set_hunt_caller_profile(), switch_channel_set_log_tag(), switch_channel_set_name(), switch_channel_set_originatee_caller_profile(), switch_channel_set_origination_caller_profile(), switch_channel_set_originator_caller_profile(), switch_channel_set_private(), switch_channel_set_private_flag(), switch_channel_set_state_flag(), switch_channel_set_variable_name_printf(), switch_channel_set_variable_partner_var_check(), switch_channel_set_variable_printf(), switch_channel_set_variable_strip_quotes_var_check(), switch_channel_set_variable_var_check(), switch_channel_test_app_flag_key(), switch_channel_test_cap(), switch_channel_test_cap_partner(), switch_channel_test_flag(), switch_channel_test_flag_partner(), switch_channel_test_private_flag(), switch_channel_test_ready(), switch_channel_variable_first(), switch_channel_variable_last(), switch_channel_wait_for_state(), switch_check_network_list_ip_port_token(), switch_chromakey_add_color(), switch_chromakey_autocolor(), switch_chromakey_cache_image(), switch_chromakey_clear_colors(), switch_chromakey_create(), switch_chromakey_destroy(), switch_chromakey_process(), switch_console_complete(), switch_console_process(), switch_console_sort_matches(), switch_core_asr_check_results(), switch_core_asr_close(), switch_core_asr_disable_all_grammars(), switch_core_asr_disable_grammar(), switch_core_asr_enable_grammar(), switch_core_asr_feed(), switch_core_asr_feed_dtmf(), switch_core_asr_float_param(), switch_core_asr_get_result_headers(), switch_core_asr_get_results(), switch_core_asr_load_grammar(), switch_core_asr_numeric_param(), switch_core_asr_open(), switch_core_asr_pause(), switch_core_asr_resume(), switch_core_asr_start_input_timers(), switch_core_asr_text_param(), switch_core_asr_unload_grammar(), switch_core_codec_control(), switch_core_codec_copy(), switch_core_codec_decode(), switch_core_codec_decode_video(), switch_core_codec_destroy(), switch_core_codec_encode(), switch_core_codec_encode_video(), switch_core_codec_init_with_bitrate(), switch_core_codec_reset(), switch_core_file_command(), switch_core_file_get_string(), switch_core_file_handle_dup(), switch_core_file_pre_close(), switch_core_file_read(), switch_core_file_read_video(), switch_core_file_seek(), switch_core_file_set_string(), switch_core_file_truncate(), switch_core_file_write(), switch_core_file_write_video(), switch_core_hash_delete_multi(), switch_core_hash_destroy(), switch_core_init(), switch_core_media_absorb_sdp(), switch_core_media_activate_rtp(), switch_core_media_add_ice_acl(), switch_core_media_add_payload_map(), switch_core_media_break(), switch_core_media_bug_exec_all(), switch_core_media_bug_push_spy_frame(), switch_core_media_bug_read(), switch_core_media_build_crypto(), switch_core_media_check_autoadj(), switch_core_media_check_dtls(), switch_core_media_check_dtmf_type(), switch_core_media_check_nat(), switch_core_media_check_outgoing_proxy(), switch_core_media_check_udptl_mode(), switch_core_media_check_video_codecs(), switch_core_media_choose_port(), switch_core_media_clear_rtp_flag(), switch_core_media_codec_chosen(), switch_core_media_codec_control(), switch_core_media_codec_get_cap(), switch_core_media_copy_t38_options(), switch_core_media_crypto_find_key_material_candidate_end(), switch_core_media_crypto_keysalt_len(), switch_core_media_crypto_salt_len(), switch_core_media_crypto_type2str(), switch_core_media_deactivate_rtp(), switch_core_media_ext_address_lookup(), switch_core_media_gen_local_sdp(), switch_core_media_get_codec_string(), switch_core_media_get_jb(), switch_core_media_get_mparams(), switch_core_media_get_offered_pt(), switch_core_media_get_rtp_session(), switch_core_media_get_stats(), switch_core_media_get_timer(), switch_core_media_get_vid_params(), switch_core_media_get_video_file(), switch_core_media_get_video_fps(), switch_core_media_kill_socket(), switch_core_media_lock_video_file(), switch_core_media_merge_sdp_codec_string(), switch_core_media_negotiate_sdp(), switch_core_media_patch_sdp(), switch_core_media_pause(), switch_core_media_prepare_codecs(), switch_core_media_process_t38_passthru(), switch_core_media_process_udptl(), switch_core_media_proxy_remote_addr(), switch_core_media_queue_rfc2833(), switch_core_media_queue_rfc2833_in(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), switch_core_media_ready(), switch_core_media_receive_message(), switch_core_media_recover_session(), switch_core_media_reset_autofix(), switch_core_media_reset_jb(), switch_core_media_reset_t38(), switch_core_media_resume(), switch_core_media_set_codec(), switch_core_media_set_local_sdp(), switch_core_media_set_r_sdp_codec_string(), switch_core_media_set_rtp_flag(), switch_core_media_set_telephony_event(), switch_core_media_set_telephony_recv_event(), switch_core_media_set_udptl_image_sdp(), switch_core_media_set_video_codec(), switch_core_media_set_video_file(), switch_core_media_start_udptl(), switch_core_media_sync_stats(), switch_core_media_toggle_hold(), switch_core_media_udptl_mode(), switch_core_media_unlock_video_file(), switch_core_media_write_frame(), switch_core_memory_init(), switch_core_mime_add_type(), switch_core_perform_alloc(), switch_core_perform_destroy_memory_pool(), switch_core_perform_new_memory_pool(), switch_core_perform_permanent_alloc(), switch_core_perform_permanent_strdup(), switch_core_perform_session_alloc(), switch_core_perform_session_strdup(), switch_core_perform_strndup(), switch_core_register_secondary_recover_callback(), switch_core_service_session_av(), switch_core_session_check_interface(), switch_core_session_compare(), switch_core_session_ctl(), switch_core_session_dequeue_event(), switch_core_session_dequeue_message(), switch_core_session_dequeue_signal_data(), switch_core_session_destroy_state(), switch_core_session_disable_heartbeat(), switch_core_session_enable_heartbeat(), switch_core_session_exec(), switch_core_session_flush_message(), switch_core_session_get_app_flags(), switch_core_session_get_channel(), switch_core_session_get_loglevel(), switch_core_session_get_payload_code(), switch_core_session_get_pool(), switch_core_session_get_private_class(), switch_core_session_hangup_state(), switch_core_session_in_video_thread(), switch_core_session_media_flow(), switch_core_session_outgoing_channel(), switch_core_session_parse_codec_settings(), switch_core_session_perform_receive_message(), switch_core_session_queue_event(), switch_core_session_queue_message(), switch_core_session_queue_private_event(), switch_core_session_queue_signal_data(), switch_core_session_read_frame(), switch_core_session_read_text_frame(), switch_core_session_read_video_frame(), switch_core_session_receive_event(), switch_core_session_recv_dtmf(), switch_core_session_remote_media_flow(), switch_core_session_reporting_state(), switch_core_session_run(), switch_core_session_send_dtmf(), switch_core_session_send_dtmf_string(), switch_core_session_set_external_id(), switch_core_session_set_ice(), switch_core_session_set_loglevel(), switch_core_session_set_private_class(), switch_core_session_set_uuid(), switch_core_session_stop_media(), switch_core_session_thread(), switch_core_session_video_reinit(), switch_core_session_wait_for_video_input_params(), switch_core_session_write_blank_video(), switch_core_session_write_frame(), switch_core_session_write_text_frame(), switch_core_session_write_video_frame(), switch_core_set_globals(), switch_core_speech_feed_tts(), switch_core_speech_float_param_tts(), switch_core_speech_flush_tts(), switch_core_speech_numeric_param_tts(), switch_core_speech_read_tts(), switch_core_speech_text_param_tts(), switch_core_standard_on_consume_media(), switch_core_standard_on_hibernate(), switch_core_standard_on_park(), switch_core_standard_on_soft_execute(), switch_core_thread_session_end(), switch_core_vsprintf(), switch_dial_handle_add_global_var(), switch_dial_handle_add_leg_list(), switch_dial_handle_create(), switch_dial_handle_dup(), switch_dial_handle_get_global_vars(), switch_dial_handle_list_add_global_var(), switch_dial_handle_list_create(), switch_dial_handle_list_create_json_obj(), switch_dial_leg_get_var(), switch_dial_leg_get_vars(), switch_dial_leg_list_add_leg(), switch_digest(), switch_dtmftoi(), switch_event_add_array(), switch_event_base_add_header(), switch_event_binary_deserialize(), switch_event_bind_removable(), switch_event_build_param_string(), switch_event_channel_bind(), switch_event_channel_broadcast(), switch_event_create_subclass_detailed(), switch_event_del_header_val(), switch_event_deliver_thread_pool(), switch_event_expand_headers_check(), switch_event_fire_detailed(), switch_event_free_subclass_detailed(), switch_event_get_header_ptr(), switch_event_import_xml(), switch_event_init(), switch_event_merge(), switch_event_name(), switch_event_rename_header(), switch_event_reserve_subclass_detailed(), switch_fd_read_dline(), switch_fp_read_dline(), switch_frame_alloc(), switch_frame_buffer_dup(), switch_frame_buffer_free(), switch_frame_dup(), switch_fulldate_cmp(), switch_hashtable_first_iter(), switch_http_dump_request(), switch_http_parse_header(), switch_http_parse_qs(), switch_ice_direction(), switch_img_alloc(), switch_img_calc_fit(), switch_img_chromakey(), switch_img_copy(), switch_img_copy_rect(), switch_img_data_url(), switch_img_fit(), switch_img_free(), switch_img_letterbox(), switch_img_overlay(), switch_img_patch(), switch_img_patch_hole(), switch_img_read_from_file(), switch_img_rotate(), switch_img_rotate_copy(), switch_img_scale(), switch_img_to_raw(), switch_img_txt_handle_destroy(), switch_img_txt_handle_render(), switch_img_write_text_img(), switch_img_write_to_file(), switch_ivr_3p_media(), switch_ivr_activate_unicast(), switch_ivr_bridge_bleg(), switch_ivr_broadcast(), switch_ivr_broadcast_in_thread(), switch_ivr_check_presence_mapping(), switch_ivr_digit_stream_new(), switch_ivr_digit_stream_parser_feed(), switch_ivr_digit_stream_reset(), switch_ivr_dmachine_check_match(), switch_ivr_dmachine_get_target(), switch_ivr_dmachine_set_match_callback(), switch_ivr_dmachine_set_nonmatch_callback(), switch_ivr_dmachine_set_target(), switch_ivr_find_bridged_uuid(), switch_ivr_media(), switch_ivr_menu_execute(), switch_ivr_menu_stack_xml_build(), switch_ivr_originate(), switch_ivr_park(), switch_ivr_phrase_macro_event(), switch_ivr_play_file(), switch_ivr_read(), switch_ivr_say(), switch_ivr_say_string(), switch_ivr_soft_hold(), switch_ivr_speak_text_handle(), switch_ivr_stop_detect_speech(), switch_ivr_wait_for_answer(), switch_json_api_execute(), switch_jwt_sign(), switch_jwt_verify(), switch_live_array_set_command_handler(), switch_live_array_set_user_data(), switch_load_network_lists(), switch_loadable_module_create_module_interface(), switch_loadable_module_exec(), switch_loadable_module_load_file(), switch_log_bind_logger(), switch_log_init(), switch_log_meta_vprintf(), switch_log_node_alloc(), switch_log_node_dup(), switch_log_str2mask(), switch_media_handle_clear_media_flag(), switch_media_handle_destroy(), switch_media_handle_set_media_flag(), switch_media_handle_set_media_flags(), switch_media_handle_test_media_flag(), switch_msrp_msg_create(), switch_msrp_msg_dup(), switch_msrp_msg_set_payload(), switch_msrp_session_new(), switch_msrp_start_client(), switch_must_malloc(), switch_must_realloc(), switch_must_strdup(), switch_mux_channels(), switch_name_event(), switch_nat_multicast_runtime(), switch_network_list_add_cidr_port_token(), switch_new_profile_timer(), switch_odbc_handle_callback_exec_detailed(), switch_pool_strip_whitespace(), switch_process_import(), switch_regex_match_partial(), switch_regex_perform(), switch_replace_char(), switch_resample_perform_create(), switch_resample_process(), switch_rtp_add_dtls(), switch_rtp_kill_socket(), switch_rtp_write_frame(), switch_rtp_write_raw(), switch_sanitize_number(), switch_say_file_handle_create(), switch_say_file_handle_destroy(), switch_say_file_handle_detach_path(), switch_scheduler_add_task_ex(), switch_separate_file_params(), switch_sockaddr_create(), switch_sockaddr_new(), switch_speex_fmtp_parse(), switch_split_date(), switch_split_time(), switch_sql_queue_manager_destroy(), switch_ssl_init_ssl_locks(), SWITCH_STANDARD_SCHED_FUNC(), switch_strchr_strict(), switch_string_has_escaped_data(), switch_string_replace(), switch_strip_spaces(), switch_strip_whitespace(), switch_strstr(), switch_stun_ip_lookup(), switch_stun_lookup(), switch_thread_pool_launch_thread(), switch_tod_cmp(), switch_util_quote_shell_arg_pool(), switch_xml_locate(), switch_xml_locate_domain(), switch_xml_locate_group(), switch_xml_locate_language(), switch_xml_locate_user(), switch_xml_parse_str_dynamic(), switch_xml_set_binding_sections(), switch_xml_set_binding_user_data(), and text_bridge_thread().

◆ SWITCH_DECLARE

#define SWITCH_DECLARE (   type)    type

◆ SWITCH_DECLARE_CLASS

#define SWITCH_DECLARE_CLASS

Definition at line 201 of file switch_platform.h.

◆ SWITCH_DECLARE_CONSTRUCTOR

#define SWITCH_DECLARE_CONSTRUCTOR   SWITCH_DECLARE_DATA

◆ SWITCH_DECLARE_DATA

#define SWITCH_DECLARE_DATA

Definition at line 197 of file switch_platform.h.

◆ SWITCH_DECLARE_NONSTD

#define SWITCH_DECLARE_NONSTD (   type)    type

◆ SWITCH_INT64_T_FMT

#define SWITCH_INT64_T_FMT   (sizeof (long) == 8 ? "ld" : "lld")

◆ SWITCH_MOD_DECLARE

#define SWITCH_MOD_DECLARE (   type)    type

Definition at line 198 of file switch_platform.h.

◆ SWITCH_MOD_DECLARE_DATA

#define SWITCH_MOD_DECLARE_DATA

Definition at line 200 of file switch_platform.h.

◆ SWITCH_MOD_DECLARE_NONSTD

#define SWITCH_MOD_DECLARE_NONSTD (   type)    type

Definition at line 199 of file switch_platform.h.

◆ SWITCH_SIZE_T_FMT

#define SWITCH_SIZE_T_FMT   (sizeof (switch_size_t) == sizeof (long) ? "lu" : sizeof (switch_size_t) == sizeof (int) ? "u" : "llu")

◆ SWITCH_SSIZE_T_FMT

#define SWITCH_SSIZE_T_FMT   (sizeof (switch_ssize_t) == sizeof (long) ? "ld" : sizeof (switch_ssize_t) == sizeof (int) ? "d" : "lld")

Definition at line 254 of file switch_platform.h.

Referenced by msrp_socket_recv().

◆ SWITCH_THREAD_FUNC

#define SWITCH_THREAD_FUNC

◆ SWITCH_TIME_T_FMT

#define SWITCH_TIME_T_FMT   SWITCH_INT64_T_FMT

◆ SWITCH_UINT64_T_FMT

#define SWITCH_UINT64_T_FMT   (sizeof (long) == 8 ? "lu" : "llu")

Definition at line 266 of file switch_platform.h.

Referenced by switch_event_prep_for_delivery_detailed().

◆ SWITCH_USE_CLOCK_FUNCS

#define SWITCH_USE_CLOCK_FUNCS

Definition at line 38 of file switch_platform.h.

◆ SWITCH_VA_NONE

#define SWITCH_VA_NONE   "%s", ""

◆ TIME_T_FMT

#define TIME_T_FMT   "ld"

Definition at line 276 of file switch_platform.h.

Referenced by check_channel_status(), and switch_channel_set_timestamps().

◆ TRUE

#define TRUE   (!FALSE)

Typedef Documentation

◆ switch_int32_t

typedef int32_t switch_int32_t

Definition at line 219 of file switch_platform.h.

◆ switch_size_t

typedef uintptr_t switch_size_t

Definition at line 225 of file switch_platform.h.

◆ switch_ssize_t

typedef intptr_t switch_ssize_t

Definition at line 231 of file switch_platform.h.