Function alpm_sys::alpm_db_search[][src]

pub unsafe extern "C" fn alpm_db_search(
    db: *mut alpm_db_t,
    needles: *const alpm_list_t
) -> *mut alpm_list_t
Expand description

Searches a database with regular expressions. @param db pointer to the package database to search in @param needles a list of regular expressions to search for @return the list of packages matching all regular expressions on success, NULL on error