pub type alpm_depend_t = _alpm_depend_t;
Expand description
The basic dependency type.
This type is used throughout libalpm, not just for dependencies but also conflicts and providers.
Aliased Type§
struct alpm_depend_t {
pub name: *mut i8,
pub version: *mut i8,
pub desc: *mut i8,
pub name_hash: u64,
pub mod_: _alpm_depmod_t,
}
Fields§
§name: *mut i8
Name of the provider to satisfy this dependency
version: *mut i8
Version of the provider to match against (optional)
desc: *mut i8
A description of why this dependency is needed (optional)
name_hash: u64
A hash of name (used internally to speed up conflict checks)
mod_: _alpm_depmod_t
How the version should match against the provider