alpm_sys

Function alpm_db_check_pgp_signature

Source
pub unsafe extern "C" fn alpm_db_check_pgp_signature(
    db: *mut alpm_db_t,
    siglist: *mut alpm_siglist_t,
) -> c_int
Expand description

Check the PGP signature for the given database. @param db the database to check @param siglist a pointer to storage for signature results @return 0 if valid, -1 if an error occurred or signature is invalid