]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs/refs-internal.h
refs: add a backend method structure
[thirdparty/git.git] / refs / refs-internal.h
index 0206e2b9597d055e04fcd0d8853c4ebf2c4988a1..2c9d134021cffca8f950a45baadd4af740273b34 100644 (file)
@@ -525,4 +525,12 @@ int do_for_each_ref_iterator(struct ref_iterator *iter,
 int read_raw_ref(const char *refname, unsigned char *sha1,
                 struct strbuf *referent, unsigned int *type);
 
+/* refs backends */
+struct ref_storage_be {
+       struct ref_storage_be *next;
+       const char *name;
+};
+
+extern struct ref_storage_be refs_be_files;
+
 #endif /* REFS_REFS_INTERNAL_H */