audstrings.h File Reference

#include <libaudcore/core.h>

Go to the source code of this file.

Functions

bool_t str_has_prefix_nocase (const char *str, const char *prefix)
bool_t str_has_suffix_nocase (const char *str, const char *suffix)
void str_set_utf8_impl (char *(*stu_impl)(const char *), char *(*stuf_impl)(const char *, int, int *, int *))
char * str_to_utf8 (const char *str)
char * str_to_utf8_full (const char *str, int len, int *bytes_read, int *bytes_written)
void string_replace_char (char *string, char old_str, char new_str)
void str_decode_percent (const char *str, int len, char *out)
void str_encode_percent (const char *str, int len, char *out)
char * filename_to_uri (const char *filename)
char * uri_to_filename (const char *uri)
char * uri_to_display (const char *uri)
void uri_parse (const char *uri, const char **base_p, const char **ext_p, const char **sub_p, int *isub_p)
int string_compare (const char *a, const char *b)
int string_compare_encoded (const char *a, const char *b)
char * str_replace_fragment (char *s, int size, const char *old_str, const char *new_str)
bool_t string_to_int (const char *string, int *addr)
bool_t string_to_double (const char *string, double *addr)
char * int_to_string (int val)
char * double_to_string (double val)
bool_t string_to_double_array (const char *string, double *array, int count)
char * double_array_to_string (const double *array, int count)

Function Documentation

char* double_array_to_string ( const double *  array,
int  count 
)

Definition at line 541 of file audstrings.c.

Referenced by eq_set_bands().

char* double_to_string ( double  val  ) 

Definition at line 492 of file audstrings.c.

Referenced by double_array_to_string(), and set_double().

char* filename_to_uri ( const char *  filename  ) 
char* int_to_string ( int  val  ) 

Definition at line 486 of file audstrings.c.

Referenced by set_int().

void str_decode_percent ( const char *  str,
int  len,
char *  out 
)

Definition at line 87 of file audstrings.c.

Referenced by str_get_decoded(), tuple_set_filename(), uri_to_display(), and uri_to_filename().

void str_encode_percent ( const char *  str,
int  len,
char *  out 
)

Definition at line 115 of file audstrings.c.

Referenced by construct_uri(), and filename_to_uri().

bool_t str_has_prefix_nocase ( const char *  str,
const char *  prefix 
)

Definition at line 39 of file audstrings.c.

bool_t str_has_suffix_nocase ( const char *  str,
const char *  suffix 
)

Definition at line 44 of file audstrings.c.

Referenced by scan_plugin_func().

char* str_replace_fragment ( char *  s,
int  size,
const char *  old_str,
const char *  new_str 
)

Definition at line 358 of file audstrings.c.

void str_set_utf8_impl ( char *(*)(const char *)  stu_impl,
char *(*)(const char *, int, int *, int *)  stuf_impl 
)

Definition at line 58 of file audstrings.c.

Referenced by chardet_init().

char* str_to_utf8 ( const char *  str  ) 

Definition at line 65 of file audstrings.c.

char* str_to_utf8_full ( const char *  str,
int  len,
int bytes_read,
int bytes_written 
)

Definition at line 71 of file audstrings.c.

int string_compare ( const char *  a,
const char *  b 
)

Definition at line 260 of file audstrings.c.

Referenced by add_folder(), plugin_compare(), and tuple_compare_string().

int string_compare_encoded ( const char *  a,
const char *  b 
)

Definition at line 304 of file audstrings.c.

Referenced by filename_compare_basename().

void string_replace_char ( char *  string,
char  old_str,
char  new_str 
)

Definition at line 77 of file audstrings.c.

Referenced by filename_to_uri(), normalize_path(), uri_to_display(), and uri_to_filename().

bool_t string_to_double ( const char *  string,
double *  addr 
)

Definition at line 432 of file audstrings.c.

Referenced by get_double(), and string_to_double_array().

bool_t string_to_double_array ( const char *  string,
double *  array,
int  count 
)

Definition at line 521 of file audstrings.c.

Referenced by eq_get_bands().

bool_t string_to_int ( const char *  string,
int addr 
)

Definition at line 405 of file audstrings.c.

Referenced by get_int(), and string_to_double().

void uri_parse ( const char *  uri,
const char **  base_p,
const char **  ext_p,
const char **  sub_p,
int isub_p 
)

Definition at line 219 of file audstrings.c.

Referenced by get_extension(), probe_by_extension(), tuple_set_filename(), and vfs_fopen().

char* uri_to_display ( const char *  uri  ) 

Definition at line 196 of file audstrings.c.

char* uri_to_filename ( const char *  uri  ) 

Generated on 3 Feb 2012 for Audacious by  doxygen 1.6.1