9286d0d CACHE_REQ: Move cache_req_next_domain() into a new tevent request

1 file Authored by fidencio 7 years ago, Committed by jhrozek 7 years ago,
    CACHE_REQ: Move cache_req_next_domain() into a new tevent request
    
    This change prepares for the upcoming patch, which will have to support
    more than one iteration over all domains, leaving us with a better
    control of the whole logic around this iteration.
    
    Related:
    https://pagure.io/SSSD/sssd/issue/3001
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>