#ifndef DIRCACHE_H
#define DIRCACHE_H
#include "ubixfs.h"
struct cacheNode {
char * name;
struct cacheNode * prev;
struct cacheNode * next;
struct cacheNode * parent;
struct cacheNode * subDirsHead;
struct cacheNode * subDirsTail;
void * info;
uInt16 attributes;
int dirListEntryCount;
int dirty;
unsigned int dirBlock;
}; /* cacheNode */
struct cacheNode * ubixfs_cacheFind(struct cacheNode *, char *);
struct cacheNode * ubixfs_cacheNew(const char *);
void ubixfs_cacheDelete(struct cacheNode **);
struct cacheNode * ubixfs_cacheAdd(struct cacheNode *, struct cacheNode *);
#endif /* !DIRCACHE_H */