[][src]Function sequoia_ffi::store::sq_mapping_iter_next

#[no_mangle]pub extern "C" fn sq_mapping_iter_next(
    iter: *mut MappingIter,
    realmp: Option<&mut *mut c_char>,
    namep: Option<&mut *mut c_char>,
    policyp: Option<&mut u8>
) -> *mut Mapping

Returns the next mapping.

C Declaration

pgp_mapping_t
sq_mapping_iter_next (pgp_mapping_iter_t iter,
                      char **realmp,
                      char **namep,
                      uint8_t *policyp);

Returns NULL on exhaustion. If realmp is not NULL, the mapping's realm is stored there. If namep is not NULL, the mapping's name is stored there. If policyp is not NULL, the mapping's network policy is stored there.