aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2012-01-21 10:01:20 +0100
committerDavid du Colombier <0intro@gmail.com>2012-01-21 10:01:20 +0100
commit83b247a771a514792b972216e1ad32ae1f3fc316 (patch)
treed2fdc922d7beec267d013b83f04ada86465d6784 /include
parentf4792e43aef14341bb40f32e8583bd4731e1dcb4 (diff)
downloadplan9port-83b247a771a514792b972216e1ad32ae1f3fc316.tar.gz
plan9port-83b247a771a514792b972216e1ad32ae1f3fc316.tar.bz2
plan9port-83b247a771a514792b972216e1ad32ae1f3fc316.zip
libventi: add functions vtsha1 and vtsha1check
These functions are equivalent to vtSha1 and vtSha1Check from the old libventi and are particularly used by Fossil. R=rsc http://codereview.appspot.com/5555064
Diffstat (limited to 'include')
-rw-r--r--include/venti.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/venti.h b/include/venti.h
index d6b753b8..45c0aab8 100644
--- a/include/venti.h
+++ b/include/venti.h
@@ -381,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.
*/