Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Functions
util.c File Reference
#include <dirent.h>
#include <unistd.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <libaudcore/audstrings.h>
#include "debug.h"
#include "i18n.h"
#include "misc.h"
#include "plugins.h"
#include "util.h"

Go to the source code of this file.

Functions

bool_t dir_foreach (const char *path, DirForeachFunc func, void *user)
 
char * construct_uri (const char *string, const char *playlist_name)
 
void make_directory (const char *path, mode_t mode)
 
char * write_temp_file (void *data, int64_t len)
 
char * get_path_to_self (void)
 
static char * skip_top_folders (char *name)
 
static void split_filename (char *name, char **base, char **first, char **second)
 
static char * stream_name (char *name)
 
static char * get_nonblank_field (const Tuple *tuple, int field)
 
static char * str_get_decoded (char *str)
 
void describe_song (const char *name, const Tuple *tuple, char **_title, char **_artist, char **_album)
 

Function Documentation

char* construct_uri ( const char *  string,
const char *  playlist_name 
)

Definition at line 70 of file util.c.

void describe_song ( const char *  name,
const Tuple *  tuple,
char **  _title,
char **  _artist,
char **  _album 
)

Definition at line 353 of file util.c.

Referenced by entry_set_tuple_real().

bool_t dir_foreach ( const char *  path,
DirForeachFunc  func,
void *  user 
)

Definition at line 46 of file util.c.

Referenced by scan_plugins().

static char* get_nonblank_field ( const Tuple *  tuple,
int  field 
)
static

Definition at line 328 of file util.c.

Referenced by describe_song().

char* get_path_to_self ( void  )

Definition at line 155 of file util.c.

Referenced by relocate_paths().

void make_directory ( const char *  path,
mode_t  mode 
)

Definition at line 109 of file util.c.

Referenced by make_dirs().

static char* skip_top_folders ( char *  name)
static

Definition at line 220 of file util.c.

Referenced by describe_song().

static void split_filename ( char *  name,
char **  base,
char **  first,
char **  second 
)
static

Definition at line 260 of file util.c.

Referenced by describe_song().

static char* str_get_decoded ( char *  str)
static

Definition at line 341 of file util.c.

Referenced by describe_song().

static char* stream_name ( char *  name)
static

Definition at line 305 of file util.c.

Referenced by describe_song().

char* write_temp_file ( void *  data,
int64_t  len 
)

Definition at line 118 of file util.c.

Referenced by art_get_file_real().