plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit b98ae9bf71e83bc6fdee9a263ed062b9537b54a9
parent a1882dc1d0eeb8eb15614b28d3c11a3697bcd185
Author: rsc <devnull@localhost>
Date:   Thu, 17 Jun 2004 19:18:31 +0000

add cache function

Diffstat:
Minclude/venti.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/include/venti.h b/include/venti.h @@ -387,6 +387,7 @@ void vtcachefree(VtCache*); VtBlock *vtcachelocal(VtCache*, u32int addr, int type); VtBlock *vtcacheglobal(VtCache*, uchar[VtScoreSize], int type); VtBlock *vtcacheallocblock(VtCache*, int type); +void vtcachesetwrite(VtCache*, int(*)(VtConn*,uchar[VtScoreSize],uint,uchar*,int)); void vtblockput(VtBlock*); u32int vtcacheblocksize(VtCache*); int vtblockwrite(VtBlock*);