RTS API Documentation  1.10.11
Functions
String Handling funcions
+ Collaboration diagram for String Handling funcions:

Functions

int switch_snprintf (_Out_z_cap_(len) char *buf, _In_ switch_size_t len, _In_z_ _Printf_format_string_ const char *format,...)
 
int switch_vasprintf (_Out_opt_ char **buf, _In_z_ _Printf_format_string_ const char *format, _In_ va_list ap)
 
int switch_vsnprintf (char *buf, switch_size_t len, const char *format, va_list ap)
 
char * switch_copy_string (_Out_z_cap_(dst_size) char *dst, _In_z_ const char *src, _In_ switch_size_t dst_size)
 

Detailed Description

Function Documentation

◆ switch_copy_string()

char* switch_copy_string ( _Out_z_cap_(dst_size) char *  dst,
_In_z_ const char *  src,
_In_ switch_size_t  dst_size 
)

◆ switch_snprintf()

int switch_snprintf ( _Out_z_cap_(len) char *  buf,
_In_ switch_size_t  len,
_In_z_ _Printf_format_string_ const char *  format,
  ... 
)

Referenced by __switch_xml_open_root(), add_audio_codec(), add_fb(), check_channel_status(), check_ice(), db_pick_path(), ecd_deliver(), freeswitch_kill_background(), generate_m(), handle_ice(), ice_out(), inherit_codec(), main(), merge_recording_variables(), msrp_find_uuid(), preprocess_exec(), rtp_common_read(), switch_agc_create(), switch_build_uri(), switch_caller_profile_event_set_data(), switch_channel_clear_device_record(), switch_channel_event_set_basic_data(), switch_channel_event_set_extended_data(), switch_channel_handle_cause(), switch_channel_set_presence_data_vals(), switch_channel_set_timestamps(), switch_config_open_file(), switch_console_save_history(), switch_console_stream_write(), switch_core_media_activate_rtp(), switch_core_media_choose_port(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_media_patch_sdp(), switch_core_media_process_t38_passthru(), switch_core_media_sdp_map(), switch_core_media_set_r_sdp_codec_string(), switch_core_media_set_udptl_image_sdp(), switch_core_runtime_loop(), switch_core_session_outgoing_channel(), switch_core_session_passthru(), switch_core_session_send_dtmf_string(), switch_core_session_set_read_codec(), switch_core_session_set_real_read_codec(), switch_core_session_set_video_read_codec(), switch_core_session_set_video_write_codec(), switch_core_session_set_write_codec(), switch_core_set_globals(), switch_event_add_presence_data_cols(), switch_event_base_add_header(), switch_event_dup_reply(), switch_event_serialize(), switch_event_serialize_json_obj(), switch_event_xmlize(), switch_find_parameter(), switch_ivr_detect_speech_init(), switch_ivr_eavesdrop_session(), switch_ivr_generate_json_cdr(), switch_ivr_generate_xml_cdr(), switch_ivr_originate(), switch_ivr_read(), switch_ivr_set_xml_call_stats(), switch_json_add_presence_data_cols(), switch_loadable_module_load_module_ex(), switch_log_meta_vprintf(), switch_log_node_to_json(), switch_rtp_activate_ice(), switch_simple_email(), switch_strerror_r(), switch_user_sql_thread(), switch_uuid_str(), switch_xml_clear_user_cache(), switch_xml_err(), switch_xml_locate_user_cache(), switch_xml_std_datetime_check(), and switch_xml_user_cache().

◆ switch_vasprintf()

int switch_vasprintf ( _Out_opt_ char **  buf,
_In_z_ _Printf_format_string_ const char *  format,
_In_ va_list  ap 
)

◆ switch_vsnprintf()

int switch_vsnprintf ( char *  buf,
switch_size_t  len,
const char *  format,
va_list  ap 
)

Definition at line 217 of file switch_apr.c.

Referenced by switch_say_file().

218 {
219  return fspr_vsnprintf(buf, len, format, ap);
220 }
char const int const cJSON_bool format
Definition: switch_cJSON.h:153
switch_byte_t switch_byte_t * buf