add cache function
This commit is contained in:
parent
a1882dc1d0
commit
b98ae9bf71
@ -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 New Issue
Block a user