alpm_depend_t

Type Alias alpm_depend_t 

Source
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 u8

Name of the provider to satisfy this dependency

§version: *mut u8

Version of the provider to match against (optional)

§desc: *mut u8

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