This is DirSearch.h in view mode; [Download] [Up]
/* Generated by Interface Builder */
#import <objc/Object.h>
#import <sys/dir.h>
/* directory list */
typedef struct
{
	char	path[256];		/* the path */
	DIR		*dir;			/* pointer to directory */
} DirRec;
typedef struct
{
	int		nDirs;				/* number of directory slots in list */
	int		curDepth;			/* current depth in list */
	DirRec	dirs[0];			/* list of directories */
} DirList;
@interface DirSearch:Object
{
	DirList *dirStack;		
}
/* Public methods */
- (BOOL) newDir: (char *) name;
- (void) freeDir;
- (struct direct *) nextFile:(BOOL) searchFolders: (BOOL) outputFolders: (char *)path;
 
/* Private methods */
- (BOOL) pushDir: (char *) name;
- (BOOL) popDir;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.