mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
add cache function
This commit is contained in:
parent
a1882dc1d0
commit
b98ae9bf71
1 changed files with 1 additions and 0 deletions
|
@ -387,6 +387,7 @@ void vtcachefree(VtCache*);
|
||||||
VtBlock *vtcachelocal(VtCache*, u32int addr, int type);
|
VtBlock *vtcachelocal(VtCache*, u32int addr, int type);
|
||||||
VtBlock *vtcacheglobal(VtCache*, uchar[VtScoreSize], int type);
|
VtBlock *vtcacheglobal(VtCache*, uchar[VtScoreSize], int type);
|
||||||
VtBlock *vtcacheallocblock(VtCache*, int type);
|
VtBlock *vtcacheallocblock(VtCache*, int type);
|
||||||
|
void vtcachesetwrite(VtCache*, int(*)(VtConn*,uchar[VtScoreSize],uint,uchar*,int));
|
||||||
void vtblockput(VtBlock*);
|
void vtblockput(VtBlock*);
|
||||||
u32int vtcacheblocksize(VtCache*);
|
u32int vtcacheblocksize(VtCache*);
|
||||||
int vtblockwrite(VtBlock*);
|
int vtblockwrite(VtBlock*);
|
||||||
|
|
Loading…
Reference in a new issue