File: dirCacheP.h

package info (click to toggle)
mtools 4.0.48-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,460 kB
  • sloc: ansic: 20,334; sh: 4,118; makefile: 234; sed: 7
file content (21 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef DIRCACHEP_H
#define DIRCACHEP_H

struct dirCacheEntry_t {
	dirCacheEntryType_t type;
	unsigned int beginSlot;
	unsigned int endSlot;
	wchar_t *shortName;
	wchar_t *longName;
	struct directory dir;
	int endMarkPos;
} ;

int isHashed(dirCache_t *cache, wchar_t *name);
dirCacheEntry_t *addUsedEntry(dirCache_t *Stream,
			      unsigned int begin,
			      unsigned int end,
			      wchar_t *longName, wchar_t *shortName,
			      struct directory *dir);

#endif /* DIRCACHEP_H */