String Handling funcions
[Brought To You By APR]

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)


Function Documentation

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

Referenced by __switch_xml_open_root(), comp_callback(), get_pmp_pubaddr(), main(), switch_cache_db_execute_sql2str(), switch_config_next_pair(), switch_core_perform_file_open(), switch_dir_next_file(), switch_find_local_ip(), switch_ivr_find_bridged_uuid(), switch_ivr_multi_threaded_bridge(), switch_ivr_schedule_broadcast(), switch_ivr_schedule_hangup(), switch_ivr_schedule_transfer(), switch_ivr_speak_text(), switch_loadable_module_get_codecs_sorted(), and switch_parse_cidr().

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(), check_channel_status(), db_pick_path(), freeswitch_kill_background(), inherit_codec(), main(), rtp_common_read(), switch_build_uri(), switch_caller_profile_event_set_data(), switch_channel_event_set_basic_data(), switch_channel_event_set_extended_data(), switch_channel_set_presence_data_vals(), switch_config_open_file(), switch_console_stream_write(), switch_core_runtime_loop(), switch_core_session_outgoing_channel(), 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_core_set_serial(), switch_event_add_presence_data_cols(), switch_event_base_add_header(), switch_event_dup_reply(), switch_event_serialize(), switch_event_serialize_json(), switch_event_xmlize(), switch_find_parameter(), switch_ivr_detect_speech(), switch_ivr_eavesdrop_session(), switch_ivr_generate_json_cdr(), switch_ivr_generate_xml_cdr(), switch_ivr_originate(), switch_ivr_read(), switch_loadable_module_load_module_ex(), switch_log_vprintf(), switch_md5_string(), switch_rtp_activate_ice(), switch_rtp_init(), switch_simple_email(), 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().

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

Referenced by jb_logger(), switch_caller_extension_add_application_printf(), switch_channel_export_variable_printf(), switch_channel_set_variable_name_printf(), switch_channel_set_variable_printf(), switch_console_printf(), switch_event_add_body(), switch_event_add_header(), switch_file_printf(), and switch_log_vprintf().

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

Definition at line 216 of file switch_apr.c.

Referenced by switch_say_file().

00217 {
00218         return apr_vsnprintf(buf, len, format, ap);
00219 }


Generated on Wed May 16 04:00:17 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7