alpm_sys

Function alpm_get_localdb

Source
pub unsafe extern "C" fn alpm_get_localdb(
    handle: *mut alpm_handle_t,
) -> *mut alpm_db_t
Expand description

Get the database of locally installed packages. The returned pointer points to an internal structure of libalpm which should only be manipulated through libalpm functions. @return a reference to the local database