util.h File Reference

#include <sys/types.h>
#include <libaudcore/core.h>

Go to the source code of this file.

Typedefs

typedef bool_t(* DirForeachFunc )(const char *path, const char *basename, gpointer user_data)

Functions

bool_t dir_foreach (const char *path, DirForeachFunc func, void *user_data)
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)
void describe_song (const char *filename, const Tuple *tuple, char **title, char **artist, char **album)

Typedef Documentation

typedef bool_t(* DirForeachFunc)(const char *path, const char *basename, gpointer user_data)

Definition at line 32 of file util.h.


Function Documentation

void describe_song ( const char *  filename,
const Tuple *  tuple,
char **  title,
char **  artist,
char **  album 
)

Definition at line 335 of file util.c.

Referenced by entry_set_tuple_real().

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

Definition at line 53 of file util.c.

Referenced by scan_plugins().

int file_get_mtime ( const char *  filename  ) 

Definition at line 104 of file util.c.

Referenced by plugin_register(), and plugin_register_loaded().

char* get_path_to_self ( void   ) 

Definition at line 161 of file util.c.

Referenced by relocate_paths().

void make_directory ( const char *  path,
mode_t  mode 
)

Definition at line 115 of file util.c.

Referenced by make_dirs().

char* write_temp_file ( void *  data,
int64_t  len 
)

Definition at line 124 of file util.c.

Referenced by art_get_file().


Generated on 3 Feb 2012 for Audacious by  doxygen 1.6.1