https://github.com/git/git
Revision 68538cf9545ff853518b29fcac8e6bbe00a97f56 authored by Junio C Hamano on 25 June 2015, 18:02:14 UTC, committed by Junio C Hamano on 25 June 2015, 18:02:14 UTC
Doc updates.

* sb/pack-protocol-mention-smart-http:
  Documentation/technical/pack-protocol: mention http as possible protocol
2 parent s f2bd231 + 055c7e9
Raw File
Tip revision: 68538cf9545ff853518b29fcac8e6bbe00a97f56 authored by Junio C Hamano on 25 June 2015, 18:02:14 UTC
Merge branch 'sb/pack-protocol-mention-smart-http' into maint
Tip revision: 68538cf
sha1-lookup.h
#ifndef SHA1_LOOKUP_H
#define SHA1_LOOKUP_H

typedef const unsigned char *sha1_access_fn(size_t index, void *table);

extern int sha1_pos(const unsigned char *sha1,
		    void *table,
		    size_t nr,
		    sha1_access_fn fn);

extern int sha1_entry_pos(const void *table,
			  size_t elem_size,
			  size_t key_offset,
			  unsigned lo, unsigned hi, unsigned nr,
			  const unsigned char *key);
#endif
back to top