Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <limits.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 "audconfig.h"
#include "debug.h"
#include "i18n.h"
#include "misc.h"
#include "plugins.h"
#include "util.h"
Go to the source code of this file.
Defines | |
#define | URL_HISTORY_MAX_SIZE 30 |
Functions | |
gboolean | dir_foreach (const gchar *path, DirForeachFunc function, gpointer user_data, GError **error) |
gchar * | util_get_localdir (void) |
util_get_localdir: | |
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) |
void | util_add_url_history_entry (const gchar *url) |
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) |
#define URL_HISTORY_MAX_SIZE 30 |
Definition at line 185 of file util.c.
Referenced by util_add_url_history_entry().
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 314 of file util.c.
Referenced by entry_set_tuple_real().
gboolean dir_foreach | ( | const gchar * | path, |
DirForeachFunc | function, | ||
gpointer | user_data, | ||
GError ** | error | ||
) |
Definition at line 61 of file util.c.
Referenced by scan_plugins().
gint file_get_mtime | ( | const gchar * | filename | ) |
Definition at line 143 of file util.c.
Referenced by module_register().
gchar* get_path_to_self | ( | void | ) |
Definition at line 163 of file util.c.
Referenced by relocate_paths().
void make_directory | ( | const gchar * | path, |
mode_t | mode | ||
) |
Definition at line 154 of file util.c.
Referenced by make_dirs().
static gchar* skip_top_folders | ( | gchar * | name | ) | [static] |
Definition at line 210 of file util.c.
Referenced by describe_song().
static void split_filename | ( | gchar * | name, |
gchar ** | base, | ||
gchar ** | first, | ||
gchar ** | second | ||
) | [static] |
Definition at line 243 of file util.c.
Referenced by describe_song().
static gchar* stream_name | ( | gchar * | name | ) | [static] |
Definition at line 288 of file util.c.
Referenced by describe_song().
gchar* util_get_localdir | ( | void | ) |
util_get_localdir:
Returns a string with the full path of Audacious local datadir (where config files are placed). It's useful in order to put in the right place custom config files for audacious plugins.
Return value: a string with full path of Audacious local datadir (should be freed after use)