check_ref_format(): tighten refname rules
[git] / sha1-lookup.h
1 #ifndef SHA1_LOOKUP_H
2 #define SHA1_LOOKUP_H
3
4 extern int sha1_entry_pos(const void *table,
5                           size_t elem_size,
6                           size_t key_offset,
7                           unsigned lo, unsigned hi, unsigned nr,
8                           const unsigned char *key);
9 #endif