Commit Diff


commit - c48c4a9c3b2477fbcd1461a40f7bfe2e6fcab5a1
commit + 78727e915721cfd3a1033cd0a87081322297a1b0
blob - 732e8afe5960c979a1f37d0d499d86f01200b73e
blob + 298e2ba798ab4dd2c8023f73a4aa5d2bd950b746
--- lib/got_fileindex_priv.h
+++ lib/got_fileindex_priv.h
@@ -73,3 +73,7 @@ struct got_fileindex_hdr {
 	TAILQ_HEAD(, got_fileindex_entry) entries;
 	uint8_t sha1[SHA1_DIGEST_LENGTH]; /* checksum of above on-disk data */
 };
+
+const struct got_error *got_fileindex_entry_open(struct got_fileindex_entry **,
+    const char *, uint8_t *);
+void got_fileindex_entry_close(struct got_fileindex_entry *);