CacheMem
static CacheMem *new_CacheMem(void);
static CacheMem *del_CacheMem(CacheMem *cm);
static void rst_CacheMem(CacheMem *cm);
CacheMem *mem; /* The memory used to store dir[] and files[] */
CacheMem *abs_mem; /* Memory for the filenames of absolute paths */
CacheMem *rel_mem; /* Memory for the filenames of relative paths */
static int pca_scan_dir(PathCache *pc, const char *dirname, CacheMem *mem);
static CacheMem *new_CacheMem(void)
CacheMem *cm; /* The object to be returned */
cm = (CacheMem *)malloc(sizeof(CacheMem));
static CacheMem *del_CacheMem(CacheMem *cm)
static void rst_CacheMem(CacheMem *cm)
static int pca_scan_dir(PathCache *pc, const char *dirname, CacheMem *mem)