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
This commit is contained in:
parent
f4792e43ae
commit
83b247a771
3 changed files with 33 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue