30 #include <sys/param.h> 31 #include <sys/mount.h> 48 if (statvfs (path, &st) == -1) {
53 if ((g_ascii_strcasecmp (st.f_fstypename,
"nfs") == 0) ||
54 (g_ascii_strcasecmp (st.f_fstypename,
"smb") == 0)) {
gboolean xmms_statfs_is_remote(const gchar *path)
This function uses the statvfs() call to check if the path is on a remote filesystem or not...
#define xmms_log_error(fmt,...)