Interested in helping open source friends on HP-UX?
[git/mjg.git] / pack-revindex.h
blobd737f989659da7f58d7df153de9a2ac30b162108
1 #ifndef PACK_REVINDEX_H
2 #define PACK_REVINDEX_H
4 struct revindex_entry {
5 off_t offset;
6 unsigned int nr;
7 };
9 struct pack_revindex {
10 struct packed_git *p;
11 struct revindex_entry *revindex;
14 struct pack_revindex *revindex_for_pack(struct packed_git *p);
15 int find_revindex_position(struct pack_revindex *pridx, off_t ofs);
17 struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
19 #endif