diff: handle NULs in get_string_hash()
[git] / sha1-lookup.h
1 #ifndef SHA1_LOOKUP_H
2 #define SHA1_LOOKUP_H
3
4 typedef const unsigned char *sha1_access_fn(size_t index, void *table);
5
6 extern int sha1_pos(const unsigned char *sha1,
7                     void *table,
8                     size_t nr,
9                     sha1_access_fn fn);
10 #endif