libalpm
Arch Linux Package Manager Library
Data Structures | Typedefs | Enumerations | Functions
diskspace.h File Reference
#include "alpm.h"
Include dependency graph for diskspace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  __alpm_mountpoint_t

Typedefs

typedef struct __alpm_mountpoint_t alpm_mountpoint_t

Enumerations

enum  mount_used_level { USED_REMOVE = 1, USED_INSTALL = (1 << 1) }

Functions

int _alpm_check_diskspace (alpm_handle_t *handle)
int _alpm_check_downloadspace (alpm_handle_t *handle, const char *cachedir, size_t num_files, off_t *file_sizes)

Typedef Documentation


Enumeration Type Documentation

Enumerator:
USED_REMOVE 
USED_INSTALL 

Definition at line 35 of file diskspace.h.


Function Documentation

int _alpm_check_downloadspace ( alpm_handle_t handle,
const char *  cachedir,
size_t  num_files,
off_t *  file_sizes 
)

Definition at line 265 of file diskspace.c.

References _, _alpm_log(), ALPM_ERR_DISK_SPACE, ALPM_LOG_ERROR, __alpm_mountpoint_t::fsp, __alpm_mountpoint_t::max_blocks_needed, and RET_ERR.

Here is the call graph for this function: