mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Added CcRosFreeCacheSegment(), ReadCacheSegment() and WriteCacheSegment().
svn path=/trunk/; revision=2278
This commit is contained in:
parent
74be6cd705
commit
93742336bb
1 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#ifndef __INCLUDE_INTERNAL_CC_H
|
||||
#define __INCLUDE_INTERNAL_CC_H
|
||||
/* $Id: cc.h,v 1.5 2001/05/04 01:21:44 rex Exp $ */
|
||||
/* $Id: cc.h,v 1.6 2001/10/10 21:55:13 hbirr Exp $ */
|
||||
#include <ddk/ntifs.h>
|
||||
|
||||
typedef struct _BCB
|
||||
|
@ -9,6 +9,8 @@ typedef struct _BCB
|
|||
PFILE_OBJECT FileObject;
|
||||
KSPIN_LOCK BcbLock;
|
||||
ULONG CacheSegmentSize;
|
||||
LARGE_INTEGER AllocationSize;
|
||||
LARGE_INTEGER FileSize;
|
||||
} BCB;
|
||||
|
||||
typedef struct _CACHE_SEGMENT
|
||||
|
@ -37,4 +39,11 @@ CcRosGetCacheSegment(PBCB Bcb,
|
|||
VOID
|
||||
CcInitView(VOID);
|
||||
|
||||
|
||||
NTSTATUS STDCALL CcRosFreeCacheSegment(PBCB, PCACHE_SEGMENT);
|
||||
|
||||
NTSTATUS ReadCacheSegment(PCACHE_SEGMENT CacheSeg);
|
||||
|
||||
NTSTATUS WriteCacheSegment(PCACHE_SEGMENT CacheSeg);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue