aboutsummaryrefslogtreecommitdiff
path: root/include/venti.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-17 19:18:31 +0000
committerrsc <devnull@localhost>2004-06-17 19:18:31 +0000
commitb98ae9bf71e83bc6fdee9a263ed062b9537b54a9 (patch)
tree0271af1e7eb91fd176a73f9e5c41b840139d41b5 /include/venti.h
parenta1882dc1d0eeb8eb15614b28d3c11a3697bcd185 (diff)
downloadplan9port-b98ae9bf71e83bc6fdee9a263ed062b9537b54a9.tar.gz
plan9port-b98ae9bf71e83bc6fdee9a263ed062b9537b54a9.tar.bz2
plan9port-b98ae9bf71e83bc6fdee9a263ed062b9537b54a9.zip
add cache function
Diffstat (limited to 'include/venti.h')
-rw-r--r--include/venti.h1
1 files changed, 1 insertions, 0 deletions
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*);