X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=sys%2Finclude%2Fventi.h;h=e4677c1a30317a4400ee7b6e2cc2f70a3598ae99;hb=50791b875552b0dc5748aa67c95776736f6ff4b7;hp=a759730048b48174bd9e760ad1d80e79519ee4a1;hpb=63ae9ed53a04fac853693f8d319a4bbc1f6b5f49;p=plan9front.git diff --git a/sys/include/venti.h b/sys/include/venti.h index a75973004..e4677c1a3 100644 --- a/sys/include/venti.h +++ b/sys/include/venti.h @@ -134,7 +134,8 @@ enum _VtEntryDir = 1<<1, /* a directory */ _VtEntryDepthShift = 2, /* shift for pointer depth */ _VtEntryDepthMask = 7<<2, /* mask for pointer depth */ - VtEntryLocal = 1<<5 /* for local storage only */ + VtEntryLocal = 1<<5, /* for local storage only */ + VtEntryNoArchive = 1<<6 /* for local storage only */ }; enum { @@ -380,6 +381,10 @@ int vtwritepacket(VtConn*, uchar score[VtScoreSize], uint type, Packet *p); int vtsync(VtConn*); int vtping(VtConn*); +/* sha1 */ +void vtsha1(uchar score[VtScoreSize], uchar*, int); +int vtsha1check(uchar score[VtScoreSize], uchar*, int); + /* * Data blocks and block cache. */