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§
#[repr(C)]pub struct alpm_depend_t {
pub name: *mut u8,
pub version: *mut u8,
pub desc: *mut u8,
pub name_hash: u64,
pub mod_: _alpm_depmod_t,
}Fields§
§name: *mut u8Name of the provider to satisfy this dependency
version: *mut u8Version of the provider to match against (optional)
desc: *mut u8A description of why this dependency is needed (optional)
name_hash: u64A hash of name (used internally to speed up conflict checks)
mod_: _alpm_depmod_tHow the version should match against the provider