Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/midx.h
diff options
context:
space:
mode:
Diffstat (limited to 'midx.h')
-rw-r--r--midx.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/midx.h b/midx.h
index 228016088e..774f652530 100644
--- a/midx.h
+++ b/midx.h
@@ -1,8 +1,11 @@
-#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 {
@@ -45,6 +48,7 @@ int prepare_multi_pack_index_one(struct repository *r, const char *object_dir, i
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);