pack-revindex.hon commit t9001: style modernisation phase #5 (0720a51)
   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