20#ifndef ALPM_DISKSPACE_H
21#define ALPM_DISKSPACE_H
23#if defined(HAVE_SYS_MOUNT_H)
26#if defined(HAVE_SYS_STATVFS_H)
27#include <sys/statvfs.h>
29#if defined(HAVE_SYS_TYPES_H)
46typedef struct _alpm_mountpoint_t {
59int _alpm_check_diskspace(alpm_handle_t *handle);
60int _alpm_check_downloadspace(alpm_handle_t *handle,
const char *cachedir,
61 size_t num_files,
const off_t *file_sizes);
char * mount_dir
Definition diskspace.h:48
FSSTATSTYPE fsp
Definition diskspace.h:56
blkcnt_t max_blocks_needed
Definition diskspace.h:52
int read_only
Definition diskspace.h:54
enum mount_used_level used
Definition diskspace.h:53
size_t mount_dir_len
Definition diskspace.h:49
blkcnt_t blocks_needed
Definition diskspace.h:51
mount_fsinfo
Definition diskspace.h:40
@ MOUNT_FSINFO_UNLOADED
Definition diskspace.h:41
@ MOUNT_FSINFO_LOADED
Definition diskspace.h:42
@ MOUNT_FSINFO_FAIL
Definition diskspace.h:43
mount_used_level
Definition diskspace.h:35
@ USED_REMOVE
Definition diskspace.h:36
@ USED_INSTALL
Definition diskspace.h:37
enum mount_fsinfo fsinfo_loaded
Definition diskspace.h:55
Definition diskspace.h:46