Reorganised cache segment data structure
[reactos.git] / reactos / include / ddk / ntifs.h
1 #ifndef __INCLUDE_DDK_NTIFS_H
2 #define __INCLUDE_DDK_NTIFS_H
3
4 struct _BCB;
5
6 typedef struct _BCB* PBCB;
7
8 struct _MEMORY_AREA;
9
10 struct _CACHE_SEGMENT;
11
12 typedef struct _CACHE_SEGMENT* PCACHE_SEGMENT;
13
14 NTSTATUS STDCALL
15 CcFlushCacheSegment (struct _CACHE_SEGMENT* CacheSeg);
16 NTSTATUS STDCALL
17 CcReleaseCacheSegment (struct _BCB* Bcb,
18 struct _CACHE_SEGMENT* CacheSeg,
19 BOOLEAN Valid);
20 NTSTATUS STDCALL
21 CcRequestCacheSegment (struct _BCB* Bcb,
22 ULONG FileOffset,
23 PVOID* BaseAddress,
24 PBOOLEAN UptoDate,
25 struct _CACHE_SEGMENT** CacheSeg);
26 NTSTATUS STDCALL
27 CcInitializeFileCache (PFILE_OBJECT FileObject,
28 struct _BCB** Bcb,
29 ULONG CacheSegmentSize);
30 NTSTATUS STDCALL
31 CcReleaseFileCache (PFILE_OBJECT FileObject,
32 struct _BCB* Bcb);
33
34 #include <ddk/cctypes.h>
35
36 #include <ddk/ccfuncs.h>
37
38 #include <ddk/fsfuncs.h>
39
40 #endif /* __INCLUDE_DDK_NTIFS_H */