Lines Matching refs:dirStructPtr
132 DIR *dirStructPtr;
150 dirStructPtrSave = dirStructPtr = opendir(what);
163 SetReaddirAttribute (dirStructPtr, _A_NORMAL | _A_RDONLY | _A_HIDDEN | _A_SYSTEM | _A_ARCH);
165 SetReaddirAttribute (dirStructPtr, _A_NORMAL | _A_ARCH);
167 //while(dirStructPtr && !breakkey)
168 while(dirStructPtr && !NLM_exiting)
172 dirStructPtr = readdir(dirStructPtr);
173 if((dirStructPtr == NULL) || (dirStructPtr == -1))
177 if(dirStructPtr->d_attr & _A_SUBDIR)
182 strcat (szzipfile, dirStructPtr->d_name);
199 dirStructPtrSave = dirStructPtr = opendir("*.*");
200 if(dirStructPtr == NULL)
204 SetReaddirAttribute (dirStructPtr, _A_NORMAL | _A_RDONLY | _A_HIDDEN | _A_SYSTEM | _A_ARCH | _A_SUBDIR);
206 SetReaddirAttribute (dirStructPtr, _A_NORMAL | _A_ARCH | _A_SUBDIR);
214 dirStructPtr = readdir(dirStructPtr);
215 if((dirStructPtr == NULL) || (dirStructPtr == -1))
218 if(dirStructPtr->d_attr & _A_SUBDIR)
222 strcat (szzipfile, dirStructPtr->d_name);
225 chdir(dirStructPtr->d_name);