#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 <libaudcore/stringpool.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 | |
gboolean | dir_foreach (const gchar *path, DirForeachFunc func, void *user) |
gchar * | construct_uri (const gchar *string, const gchar *playlist_name) |
gint | file_get_mtime (const gchar *filename) |
void | make_directory (const gchar *path, mode_t mode) |
gchar * | get_path_to_self (void) |
static gchar * | skip_top_folders (gchar *name) |
static void | split_filename (gchar *name, gchar **base, gchar **first, gchar **second) |
static gchar * | stream_name (gchar *name) |
void | describe_song (const gchar *name, const Tuple *tuple, gchar **_title, gchar **_artist, gchar **_album) |
gchar* construct_uri | ( | const gchar * | string, | |
const gchar * | playlist_name | |||
) |
void describe_song | ( | const gchar * | name, | |
const Tuple * | tuple, | |||
gchar ** | _title, | |||
gchar ** | _artist, | |||
gchar ** | _album | |||
) |
Definition at line 279 of file util.c.
Referenced by entry_set_tuple_real().
gboolean dir_foreach | ( | const gchar * | path, | |
DirForeachFunc | func, | |||
void * | user | |||
) |
Definition at line 53 of file util.c.
Referenced by scan_plugins().
gint file_get_mtime | ( | const gchar * | filename | ) |
Definition at line 107 of file util.c.
Referenced by plugin_register(), and plugin_register_loaded().
gchar* get_path_to_self | ( | void | ) |
Definition at line 127 of file util.c.
Referenced by relocate_paths().
void make_directory | ( | const gchar * | path, | |
mode_t | mode | |||
) |
Definition at line 118 of file util.c.
Referenced by make_dirs().
static gchar* skip_top_folders | ( | gchar * | name | ) | [static] |
Definition at line 175 of file util.c.
Referenced by describe_song().
static void split_filename | ( | gchar * | name, | |
gchar ** | base, | |||
gchar ** | first, | |||
gchar ** | second | |||
) | [static] |
Definition at line 208 of file util.c.
Referenced by describe_song().
static gchar* stream_name | ( | gchar * | name | ) | [static] |
Definition at line 253 of file util.c.
Referenced by describe_song().