|
There is an API that walks through IFS files and directories -
Qp0lProcessSubtree().
Now here's where things get murky - When you call this, you specify a
path and some inclusion criteria - and either the name of a program or
address of a procedure - and the documentation calls this an exit
program - it smells to me like what I think of as a callback - sheesh!!
I think I see a callback as connected to a repetitive process, while an
exit program is a one-time thing - but THIS API doc uses the term "exit"
for the repetitive event kind of thing.
Now another API is readdir() - this one returns a structure for the NEXT
item it finds in the directory - so YOU have to run this in a loop until
no more objects are found. The first API itself contains the processing
loop - that first API seems to fit the idea, again, of the use of
callback functions or programs. Pretty neat!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.