00001
00002
00003
00004
00005
00006
00007
00008 #ifndef DISK_INFO_H
00009 #define DISK_INFO_H
00010
00011 #include "int_sizes.h"
00012 #include <time.h>
00013
00024 int disk_info_get(const char *path, UINT64_T * avail, UINT64_T * total);
00025
00036 int check_disk_workspace(char *workspace, int64_t *workspace_usage, int force, int64_t manual_disk_option, int measure_wd_interval, time_t last_cwd_measure_time, int64_t last_workspace_usage, UINT64_T disk_avail_threshold);
00037
00038
00045 int check_disk_space_for_filesize(char *path, INT64_T file_size, UINT64_T disk_avail_threshold);
00046
00047 #endif