Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Functions
util.c File Reference
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <libaudcore/audstrings.h>
#include "config.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)
int file_get_mtime (const char *filename)
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 78 of file util.c.

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

Definition at line 336 of file util.c.

Referenced by entry_set_tuple_real().

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

Definition at line 54 of file util.c.

Referenced by scan_plugins().

int file_get_mtime ( const char *  filename)

Definition at line 105 of file util.c.

Referenced by plugin_register(), and plugin_register_loaded().

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

Definition at line 311 of file util.c.

Referenced by describe_song().

char* get_path_to_self ( void  )

Definition at line 162 of file util.c.

Referenced by relocate_paths().

void make_directory ( const char *  path,
mode_t  mode 
)

Definition at line 116 of file util.c.

Referenced by make_dirs().

static char* skip_top_folders ( char *  name) [static]

Definition at line 208 of file util.c.

Referenced by describe_song().

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

Definition at line 243 of file util.c.

Referenced by describe_song().

static char* str_get_decoded ( char *  str) [static]

Definition at line 324 of file util.c.

Referenced by describe_song().

static char* stream_name ( char *  name) [static]

Definition at line 288 of file util.c.

Referenced by describe_song().

char* write_temp_file ( void *  data,
int64_t  len 
)

Definition at line 125 of file util.c.

Referenced by art_get_file().