46 if (statfs (path, &st) == -1) {
51 if ((g_ascii_strcasecmp (st.f_fstypename,
"nfs") == 0) ||
52 (g_ascii_strcasecmp (st.f_fstypename,
"smb") == 0)) {
gboolean xmms_statfs_is_remote(const gchar *path)
This function uses the statfs() call to check if the path is on a remote filesystem or not.
#define xmms_log_error(fmt,...)