alpm_sys

Function alpm_pkg_compute_requiredby

Source
pub unsafe extern "C" fn alpm_pkg_compute_requiredby(
    pkg: *mut alpm_pkg_t,
) -> *mut alpm_list_t
Expand description

Computes the list of packages requiring a given package. The return value of this function is a newly allocated list of package names (char*), it should be freed by the caller. @param pkg a package @return the list of packages requiring pkg