5 unsigned char (*sha1
)[20];
11 #define SHA1_ARRAY_INIT { NULL, 0, 0, 0 }
13 void sha1_array_append(struct sha1_array
*array
, const unsigned char *sha1
);
14 int sha1_array_lookup(struct sha1_array
*array
, const unsigned char *sha1
);
15 void sha1_array_clear(struct sha1_array
*array
);
17 typedef void (*for_each_sha1_fn
)(const unsigned char sha1
[20],
19 void sha1_array_for_each_unique(struct sha1_array
*array
,
23 #endif /* SHA1_ARRAY_H */