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

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-03 23:22:10 +0300
committerVicent Marti <tanoku@gmail.com>2010-12-06 02:14:15 +0300
commitd12299fe22e549a20e632668fdbe13cab9def9df (patch)
tree9d70b6bc154e776c49eaaddd9a66eb97aebab661 /src/odb.h
parent7d7cd8857a451ff50b126e452bcbdc0fb397db35 (diff)
Change include structure for the project
The maze with include dependencies has been fixed. There is now a global include: #include <git.h> The git_odb_backend API has been exposed. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/odb.h')
-rw-r--r--src/odb.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/odb.h b/src/odb.h
index 2726cbb46..72f0ea2b3 100644
--- a/src/odb.h
+++ b/src/odb.h
@@ -11,34 +11,6 @@ struct git_odb {
git_vector backends;
};
-struct git_odb_backend {
- git_odb *odb;
-
- int priority;
-
- int (* read)(
- git_rawobj *,
- struct git_odb_backend *,
- const git_oid *);
-
- int (* read_header)(
- git_rawobj *,
- struct git_odb_backend *,
- const git_oid *);
-
- int (* write)(
- git_oid *id,
- struct git_odb_backend *,
- git_rawobj *obj);
-
- int (* exists)(
- struct git_odb_backend *,
- const git_oid *);
-
- void (* free)(struct git_odb_backend *);
-
-};
-
int git_odb__hash_obj(git_oid *id, char *hdr, size_t n, int *len, git_rawobj *obj);
int git_odb__inflate_buffer(void *in, size_t inlen, void *out, size_t outlen);