OK, I tried it and it's so simple...
Assuming I have this variable declaration:
fldata_t fileinfo;
then this works fine:
if (fileinfo.__dsorgPDSdir == 1)
{
printf("DEBUG is PDS\n");
}
else
{
printf("DEBUG not PDS\n");
};
so all the functions I need are pretty much written. All I have to do is to
tie it with the existing code base of pcregrep.c.
Thank you gentlemen
ZA
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN