alpm_sys

Function alpm_decode_signature

Source
pub unsafe extern "C" fn alpm_decode_signature(
    base64_data: *const c_char,
    data: *mut *mut c_uchar,
    data_len: *mut usize,
) -> c_int
Expand description

Decode a loaded signature in base64 form. @param base64_data the signature to attempt to decode @param data the decoded data; must be freed by the caller @param data_len the length of the returned data @return 0 on success, -1 on failure to properly decode