trantow@csd4.csd.uwm.edu (Jerry J Trantow) (12/02/90)
I am trying to update my programs to filter certain files from the file
requester. I have been using the arp library and I thought I was set when
I found messages by Ross Cunniff and Koshy Abraham on using DoWildFunction.
I tried adding the following lines to code which has been working reliably:
fr->fr_Function = (VOID(*)())WildFunc;
fr->fr_FuncFlags= FRF_DoWildFunc;
WildFunc(Mask,Object)
ULONG Mask;
CPTR *Object;
{
char *strrchr(),*dotinfo;
struct AnchorPath *Info;
if (Mask==FRF_DoWildFunc)
{
examine Info->ap_Info.fib_FileName
return 1 or 0
}
}
I expected WildFunc to get called for each file in the directory and the
Mask==FRF_DoWildFunc
Instead, the Mask value seems to be garbage and WildFunc only gets called once.
I'm using Aztec3.6 and would appreciate any working examples.
I have found the arp include files on the FredFish disks. I AM STILL LOOKING
for the ARP PROGRAMMING DOCS!
TIA
_____________________________________________________________________________
Jerry J. Trantow | Fix reason firmly in her seat and call to her
1560 A. East Irving Place | tribunal every fact, every opinion.
Milwaukee, Wi 53202-1460 | Question with baldness even the existence of a God;
(414) 289-0503 | because, if there be one, he must approve
of the homage of reason, than that of blindfolded fear.
_____________________________________________________________________________