]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/include/venti.h
add usage messages to auth/(enable disable status).
[plan9front.git] / sys / include / venti.h
index a759730048b48174bd9e760ad1d80e79519ee4a1..e4677c1a30317a4400ee7b6e2cc2f70a3598ae99 100644 (file)
@@ -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.
  */