Revision 360f852d249f365009b63cab70b50d6f5b5c65e7 authored by Junio C Hamano on 08 April 2014, 19:07:06 UTC, committed by Junio C Hamano on 08 April 2014, 19:07:06 UTC
* mm/status-porcelain-format-i18n-fix:
  status: disable translation when --porcelain is used
2 parent s 86b4c16 + 7a76c28
Raw File
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