summaryrefslogtreecommitdiff
path: root/src/git2
diff options
context:
space:
mode:
Diffstat (limited to 'src/git2')
-rw-r--r--src/git2/odb_backend.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/git2/odb_backend.h b/src/git2/odb_backend.h
index 9c0c3ad6f..ee7e5dfde 100644
--- a/src/git2/odb_backend.h
+++ b/src/git2/odb_backend.h
@@ -66,6 +66,13 @@ struct git_odb_backend {
void (* free)(struct git_odb_backend *);
};
+GIT_EXTERN(int) git_odb_backend_pack(git_odb_backend **backend_out, const char *objects_dir);
+GIT_EXTERN(int) git_odb_backend_loose(git_odb_backend **backend_out, const char *objects_dir);
+
+#ifdef GIT2_SQLITE_BACKEND
+GIT_EXTERN(int) git_odb_backend_sqlite(git_odb_backend **backend_out, const char *sqlite_db);
+#endif
+
GIT_END_DECL
#endif