-#ifndef __MIDX_H__
-#define __MIDX_H__
+#ifndef MIDX_H
+#define MIDX_H
#include "repository.h"
+struct object_id;
+struct pack_entry;
+
#define GIT_TEST_MULTI_PACK_INDEX "GIT_TEST_MULTI_PACK_INDEX"
struct multi_pack_index {
int write_midx_file(const char *object_dir);
void clear_midx_file(struct repository *r);
+int verify_midx_file(const char *object_dir);
void close_midx(struct multi_pack_index *m);