24#define VLC_STRINGS_H 1
38 if ( c >=
'a' && c <=
'z' )
39 return c + (
'A' -
'a' );
46 if ( c >=
'A' && c <=
'Z' )
47 return c + (
'a' -
'A' );
61 const char *s1 = psz1;
62 const char *s2 = psz2;
64 while ( *s1 && d == 0)
76 const char *s1 = psz1;
77 const char *s2 = psz2;
78 const char *s1end = psz1 + n;
80 while ( *s1 && s1 < s1end && d == 0)
#define VLC_USED
Definition fourcc_gen.c:32
#define VLC_API
Definition fourcc_gen.c:31
#define VLC_MALLOC
Definition vlc_common.h:157
void filename_sanitize(char *)
Sanitize a file name.
Definition strings.c:915
static int vlc_ascii_strncasecmp(const char *psz1, const char *psz2, size_t n)
Definition vlc_strings.h:75
char * vlc_xml_encode(const char *str)
Encodes XML entities.
Definition strings.c:289
size_t vlc_b64_decode_binary(uint8_t **pp_dst, const char *psz_src)
Definition strings.c:461
char * vlc_b64_encode(const char *str)
Base64 encoding (string).
Definition strings.c:408
size_t vlc_b64_decode_binary_to_buffer(void *p_dst, size_t i_dst_max, const char *psz_src)
char * vlc_b64_encode_binary(const void *base, size_t length)
Base64 encoding.
Definition strings.c:360
char * vlc_strfplayer(vlc_player_t *player, input_item_t *item, const char *fmt)
Formats input meta-data.
Definition strings.c:542
static int vlc_ascii_tolower(int c)
Definition vlc_strings.h:45
char * vlc_b64_decode(const char *psz_src)
Definition strings.c:471
static int vlc_ascii_toupper(int c)
Definition vlc_strings.h:37
void vlc_xml_decode(char *str)
Decodes XML entities.
Definition strings.c:197
static char * str_format(vlc_player_t *player, input_item_t *item, const char *fmt)
Definition vlc_strings.h:229
void vlc_hex_encode_binary(const void *input, size_t size, char *output)
Encode binary data as hex string.
Definition strings.c:350
char * vlc_strftime(const char *)
Convenience wrapper for strftime().
Definition strings.c:485
static int vlc_ascii_strcasecmp(const char *psz1, const char *psz2)
Compare two ASCII strings ignoring case.
Definition vlc_strings.h:60
int vlc_filenamecmp(const char *, const char *)
Definition strings.c:869
struct vlc_player_input * input
Definition player.h:258
This file is a collection of common definitions and types.