a/src/utils/pathut.h b/src/utils/pathut.h
...
...
75
            std::set<std::string>& entries);
75
            std::set<std::string>& entries);
76
76
77
/** A small wrapper around statfs et al, to return percentage of disk
77
/** A small wrapper around statfs et al, to return percentage of disk
78
    occupation */
78
    occupation */
79
bool fsocc(const std::string &path, int *pc, // Percent occupied
79
bool fsocc(const std::string &path, int *pc, // Percent occupied
80
       long *avmbs = 0 // Mbs available to non-superuser
80
       long long *avmbs = 0 // Mbs available to non-superuser. Mb=1024*1024
81
       );
81
       );
82
82
83
/// Retrieve the temp dir location: $RECOLL_TMPDIR else $TMPDIR else /tmp
83
/// Retrieve the temp dir location: $RECOLL_TMPDIR else $TMPDIR else /tmp
84
extern const std::string& tmplocation();
84
extern const std::string& tmplocation();
85
85