]>
Commit | Line | Data |
---|---|---|
bb742ede | 1 | /* |
5e0de328 | 2 | * Copyright (C) 2009-2012 the libgit2 contributors |
bb742ede VM |
3 | * |
4 | * This file is part of libgit2, distributed under the GNU GPL v2 with | |
5 | * a Linking Exception. For full terms see the included COPYING file. | |
6 | */ | |
dd453c4d MP |
7 | #ifndef INCLUDE_sha1_lookup_h__ |
8 | #define INCLUDE_sha1_lookup_h__ | |
9 | ||
10 | #include <stdlib.h> | |
11 | ||
12 | int sha1_entry_pos(const void *table, | |
87d9869f VM |
13 | size_t elem_size, |
14 | size_t key_offset, | |
15 | unsigned lo, unsigned hi, unsigned nr, | |
16 | const unsigned char *key); | |
dd453c4d MP |
17 | |
18 | #endif |