VLC 4.0.0-dev
Loading...
Searching...
No Matches
strings.c File Reference
Include dependency graph for strings.c:

Data Structures

struct  xml_entity_s
 

Macros

#define strcoll   strcasecmp
 

Functions

static int cmp_entity (const void *key, const void *elem)
 
void vlc_xml_decode (char *psz_value)
 Decodes XML entities.
 
char * vlc_xml_encode (const char *str)
 Encodes XML entities.
 
void vlc_hex_encode_binary (const void *input, size_t size, char *output)
 Encode binary data as hex string.
 
char * vlc_b64_encode_binary (const void *src, size_t length)
 Base64 encoding.
 
char * vlc_b64_encode (const char *src)
 Base64 encoding (string).
 
size_t vlc_b64_decode_binary_to_buffer (void *dst, size_t size, const char *restrict src)
 
size_t vlc_b64_decode_binary (uint8_t **pp_dst, const char *psz_src)
 
char * vlc_b64_decode (const char *psz_src)
 
char * vlc_strftime (const char *tformat)
 Convenience wrapper for strftime().
 
static void write_duration (struct vlc_memstream *stream, vlc_tick_t duration)
 
static int write_meta (struct vlc_memstream *stream, input_item_t *item, vlc_meta_type_t type)
 
char * vlc_strfplayer (vlc_player_t *player, input_item_t *item, const char *s)
 Formats input meta-data.
 
int vlc_filenamecmp (const char *a, const char *b)
 
void filename_sanitize (char *str)
 Sanitize a file name.
 

Variables

static const struct xml_entity_s xml_entities []
 

Macro Definition Documentation

◆ strcoll

#define strcoll   strcasecmp

Function Documentation

◆ cmp_entity()

static int cmp_entity ( const void *  key,
const void *  elem 
)
static

References name, and xml_entity_s::psz_entity.

Referenced by vlc_xml_decode().

◆ vlc_b64_decode_binary_to_buffer()

size_t vlc_b64_decode_binary_to_buffer ( void *  dst,
size_t  size,
const char *restrict  src 
)

◆ write_duration()

static void write_duration ( struct vlc_memstream stream,
vlc_tick_t  duration 
)
static

◆ write_meta()

static int write_meta ( struct vlc_memstream stream,
input_item_t item,
vlc_meta_type_t  type 
)
static

Variable Documentation

◆ xml_entities

const struct xml_entity_s xml_entities[]
static

Referenced by vlc_xml_decode().