Defines | |
| #define | str_format_meta(a, b) __str_format_meta( VLC_OBJECT( a ), b ) |
| #define | str_format(a, b) __str_format( VLC_OBJECT( a ), b ) |
Functions | |
| void | resolve_xml_special_chars (char *psz_value) |
| Converts "<", ">" and "&" to "<", ">" and "&". | |
| char * | convert_xml_special_chars (const char *psz_content) |
| Converts '<', '>', '\"', '\'' and '&' to their html entities. | |
| char * | vlc_b64_encode_binary (const uint8_t *, size_t) |
| char * | vlc_b64_encode (const char *) |
| size_t | vlc_b64_decode_binary_to_buffer (uint8_t *p_dst, size_t i_dst_max, const char *psz_src) |
| size_t | vlc_b64_decode_binary (uint8_t **pp_dst, const char *psz_src) |
| char * | vlc_b64_decode (const char *psz_src) |
| char * | str_format_time (const char *) |
| Formats current time into a heap-allocated string. | |
| char * | __str_format_meta (vlc_object_t *, const char *) |
| char * | __str_format (vlc_object_t *, const char *) |
| Apply str format time and str format meta. | |
| char * | filename_sanitize (const char *) |
| Remove forbidden characters from filenames (including slashes). | |
| void | path_sanitize (char *) |
| Remove forbidden characters from full paths (leaves slashes). | |
| #define str_format | ( | a, | |||
| b | ) | __str_format( VLC_OBJECT( a ), b ) |
Referenced by Filter(), input_CreateFilename(), Open(), and vout_snapshot_SaveImage().
| #define str_format_meta | ( | a, | |||
| b | ) | __str_format_meta( VLC_OBJECT( a ), b ) |
Referenced by __str_format(), and ItemChange().
| char* __str_format | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
| char* __str_format_meta | ( | vlc_object_t * | , | |
| const char * | ||||
| ) |
References aout_VolumeGet, input_stats_t::i_displayed_pictures, input_GetItem(), input_item_GetAlbum, input_item_GetArtist, input_item_GetCopyright, input_item_GetDate, input_item_GetDescription, input_item_GetDuration(), input_item_GetEncodedBy, input_item_GetGenre, input_item_GetLanguage, input_item_GetName(), input_item_GetNowPlaying, input_item_GetPublisher, input_item_GetRating, input_item_GetTitle, input_item_GetTrackNum, input_item_GetURI(), input_item_GetURL, INSERT_STRING, INSERT_STRING_NO_FREE, input_stats_t::lock, p_item, input_item_t::p_stats, pl_Hold, pl_Release, playlist_CurrentInput(), strdup(), var_GetFloat, var_GetInteger, var_GetNonEmptyString, var_GetTime, vlc_mutex_lock(), vlc_mutex_unlock(), and vlc_object_release.
| char* convert_xml_special_chars | ( | const char * | psz_content | ) |
Converts '<', '>', '\"', '\'' and '&' to their html entities.
| psz_content | simple element content that is to be converted |
References c, i, and gen_builder::str.
Referenced by Block(), DoChildren(), encode(), EvaluateRPN(), new_node(), vlclua_convert_xml_special_chars(), WriteXSPF(), xspf_export_item(), xspf_export_playlist(), and xspf_extension_item().
| char* filename_sanitize | ( | const char * | ) |
Remove forbidden characters from filenames (including slashes).
References gen_builder::str, and strdup().
Referenced by ArtCacheGetDirPath(), ArtCacheName(), and input_CreateFilename().
| void path_sanitize | ( | char * | ) |
Remove forbidden characters from full paths (leaves slashes).
References DIR_SEP_CHAR.
Referenced by input_CreateFilename(), Open(), SavePicture(), and vout_snapshot_SaveImage().
| void resolve_xml_special_chars | ( | char * | psz_value | ) |
Converts "<", ">" and "&" to "<", ">" and "&".
| string | to convert |
References cmp_entity(), xml_entity_s::psz_char, xml_entity_s::psz_entity, and xml_entities.
Referenced by decode(), parse_extension_node(), ProcessNodes(), save_data(), set_item_info(), set_option(), and vlclua_resolve_xml_special_chars().
| char* str_format_time | ( | const char * | tformat | ) |
Formats current time into a heap-allocated string.
| tformat | time format (as with C strftime()) |
References localtime_r(), gen_builder::str, and strdup().
Referenced by __str_format().
| char* vlc_b64_decode | ( | const char * | psz_src | ) |
References i_dst, i_src, p_dst, and vlc_b64_decode_binary_to_buffer().
Referenced by sdpplin_parse().
| size_t vlc_b64_decode_binary | ( | uint8_t ** | pp_dst, | |
| const char * | psz_src | |||
| ) |
| size_t vlc_b64_decode_binary_to_buffer | ( | uint8_t * | p_dst, | |
| size_t | i_dst_max, | |||
| const char * | psz_src | |||
| ) |
References c.
Referenced by ParseASF(), parseH264ConfigStr(), sdpplin_parse_stream(), vlc_b64_decode(), and vlc_b64_decode_binary().
| char* vlc_b64_encode | ( | const char * | ) |
References vlc_b64_encode_binary().
Referenced by http_auth_FormatAuthorizationHeader(), OpenConnection(), and test_b64().
| char* vlc_b64_encode_binary | ( | const uint8_t * | , | |
| size_t | ||||
| ) |
Referenced by AnnounceSDP(), EncryptAesKeyBase64(), MediaAddES(), and vlc_b64_encode().
1.5.6