Typedefs | Functions

util.h File Reference

#include <sys/types.h>
#include <glib.h>

Go to the source code of this file.

Typedefs

typedef gboolean(* DirForeachFunc )(const gchar *path, const gchar *basename, gpointer user_data)

Functions

gboolean dir_foreach (const gchar *path, DirForeachFunc function, gpointer user_data, GError **error)
gint file_get_mtime (const gchar *filename)
void make_directory (const gchar *path, mode_t mode)
GList * plugin_get_list (gint type)

Typedef Documentation

typedef gboolean(* DirForeachFunc)(const gchar *path, const gchar *basename, gpointer user_data)

Definition at line 32 of file util.h.


Function Documentation

gboolean dir_foreach ( const gchar *  path,
DirForeachFunc  function,
gpointer  user_data,
GError **  error 
)

Definition at line 54 of file util.c.

Referenced by scan_plugins().

gint file_get_mtime ( const gchar *  filename  ) 

Definition at line 147 of file util.c.

Referenced by module_register().

void make_directory ( const gchar *  path,
mode_t  mode 
)

Definition at line 158 of file util.c.

Referenced by aud_make_user_dir().

GList* plugin_get_list ( gint  type  )