Step 2: Collecting search results in the directory callback

During the directory search, ct_ds_lookup invokes the directory callback once for each entry that is found in the search.