From b98ae9bf71e83bc6fdee9a263ed062b9537b54a9 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 17 Jun 2004 19:18:31 +0000 Subject: add cache function --- include/venti.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/venti.h b/include/venti.h index 0ea07c4c..889f86d3 100644 --- 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*); -- cgit v1.2.3