Handle HTTP redirections automatically.
[doldaconnect.git] / include / tiger.h
CommitLineData
d3372da9 1#ifndef _TIGER_H
2#define _TIGER_H
3
4struct tigerhash {
5 unsigned long long a, b, c;
6 unsigned char block[64];
7 int offset;
8 size_t len;
9};
10
11struct tigertreehash {
12 int blocks;
13 char block[1024];
14 int offset;
15 char stack[64][24];
16 int depth;
17};
18
19void inittiger(struct tigerhash *th);
20void dotiger(struct tigerhash *th, char *buf, size_t buflen);
21void synctiger(struct tigerhash *th);
22void restiger(struct tigerhash *th, char *rbuf);
23void inittigertree(struct tigertreehash *tth);
24void dotigertree(struct tigertreehash *tth, char *buf, size_t buflen);
25void synctigertree(struct tigertreehash *tth);
26void restigertree(struct tigertreehash *tth, char *rbuf);
02000a8f 27void pushtigertree(struct tigertreehash *tth, char *buf);
d3372da9 28
29#endif