pack-revindex.hon commit setup.c: re-fix d95138e (setup: set env $GIT_WORK_TREE when .. (86d26f2)
   1#ifndef PACK_REVINDEX_H
   2#define PACK_REVINDEX_H
   3
   4struct revindex_entry {
   5        off_t offset;
   6        unsigned int nr;
   7};
   8
   9struct pack_revindex {
  10        struct packed_git *p;
  11        struct revindex_entry *revindex;
  12};
  13
  14struct pack_revindex *revindex_for_pack(struct packed_git *p);
  15int find_revindex_position(struct pack_revindex *pridx, off_t ofs);
  16
  17struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
  18
  19#endif