]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/include/venti.h
upas/fs plumb modify messages for self-changed flags
[plan9front.git] / sys / include / venti.h
old mode 100755 (executable)
new mode 100644 (file)
index c899a66..e4677c1
@@ -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
 {
@@ -334,7 +335,9 @@ struct VtConn
 };
 
 VtConn*        vtconn(int infd, int outfd);
+int    vtreconn(VtConn*, int, int);
 VtConn*        vtdial(char*);
+int    vtredial(VtConn*, char*);
 void   vtfreeconn(VtConn*);
 int    vtsend(VtConn*, Packet*);
 Packet*        vtrecv(VtConn*);
@@ -378,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.
  */