Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add getresps.
[doldaconnect.git]
/
daemon
/
tiger.c
diff --git
a/daemon/tiger.c
b/daemon/tiger.c
index
6465dbb
..
c113aa7
100644
(file)
--- a/
daemon/tiger.c
+++ b/
daemon/tiger.c
@@
-187,6
+187,15
@@
static void combine(struct tigertreehash *tth)
restiger(&th, tth->stack[tth->depth - 1]);
}
restiger(&th, tth->stack[tth->depth - 1]);
}
+void pushtigertree(struct tigertreehash *tth, char *buf)
+{
+ int nb;
+
+ memcpy(tth->stack[tth->depth++], buf, 24);
+ for(nb = ++tth->blocks; !(nb & 1); nb >>= 1)
+ combine(tth);
+}
+
static void dotreeblock(struct tigertreehash *tth)
{
struct tigerhash th;
static void dotreeblock(struct tigertreehash *tth)
{
struct tigerhash th;