]>
git.proxmox.com Git - libgit2.git/blob - src/sha1_lookup.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
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.
7 #ifndef INCLUDE_sha1_lookup_h__
8 #define INCLUDE_sha1_lookup_h__
12 int sha1_entry_pos(const void *table
,
15 unsigned lo
, unsigned hi
, unsigned nr
,
16 const unsigned char *key
);
18 int sha1_position(const void *table
,
20 unsigned lo
, unsigned hi
,
21 const unsigned char *key
);