pub unsafe extern "C" fn alpm_pkg_find(
haystack: *mut alpm_list_t,
needle: *const c_char,
) -> *mut alpm_pkg_t
Expand description
Find a package in a list by name. @param haystack a list of alpm_pkg_t @param needle the package name @return a pointer to the package if found or NULL