Data Fields | |
| cnid_t | ds_did |
| uint32_t | ds_checked |
Directory tree search is recursive by its nature. But AFP specification requires FPCatSearch to pause after returning n results and be able to resume the search later. So we have to do recursive search using flat (iterative) algorithm and remember all directories to look into in an stack-like structure. The structure below is one item of directory stack.
| uint32_t dsitem::ds_checked |
Have we checked this directory ?
| cnid_t dsitem::ds_did |
CNID of this directory