libgit2

git_odb_backend

Version:

An instance for a custom backend

Signature

typedef struct git_odb_backend { unsigned int version git_odb *odb int (*)(void **, size_t *, git_otype *, struct git_odb_backend *, const git_oid *) read int (*)(git_oid *, void **, size_t *, git_otype *, struct git_odb_backend *, const git_oid *, size_t) read_prefix int (*)(size_t *, git_otype *, struct git_odb_backend *, const git_oid *) read_header int (*)(git_oid *, struct git_odb_backend *, const void *, size_t, git_otype) write int (*)(struct git_odb_stream **, struct git_odb_backend *, size_t, git_otype) writestream int (*)(struct git_odb_stream **, struct git_odb_backend *, const git_oid *) readstream int (*)(struct git_odb_backend *, const git_oid *) exists int (*)(struct git_odb_backend *) refresh int (*)(struct git_odb_backend *, git_odb_foreach_cb, void *) foreach int (*)(struct git_odb_writepack **, struct git_odb_backend *, git_transfer_progress_callback, void *) writepack void (*)(struct git_odb_backend *) free };

Members

unsigned int
version
odb
int (*)(void **, size_t *, git_otype *, struct git_odb_backend *, const git_oid *)
read
int (*)(git_oid *, void **, size_t *, git_otype *, struct git_odb_backend *, const git_oid *, size_t)
read_prefix
int (*)(size_t *, git_otype *, struct git_odb_backend *, const git_oid *)
read_header
int (*)(git_oid *, struct git_odb_backend *, const void *, size_t, git_otype)
write
int (*)(struct git_odb_stream **, struct git_odb_backend *, size_t, git_otype)
writestream
int (*)(struct git_odb_stream **, struct git_odb_backend *, const git_oid *)
readstream
int (*)(struct git_odb_backend *, const git_oid *)
exists
int (*)(struct git_odb_backend *)
refresh
int (*)(struct git_odb_backend *, git_odb_foreach_cb, void *)
foreach
int (*)(struct git_odb_writepack **, struct git_odb_backend *, git_transfer_progress_callback, void *)
writepack
void (*)(struct git_odb_backend *)
free

Parameter To

Versions