diff options
Diffstat (limited to 'src/pack.h')
-rw-r--r-- | src/pack.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pack.h b/src/pack.h index e1d8d040e..f21ad9fa3 100644 --- a/src/pack.h +++ b/src/pack.h @@ -66,7 +66,7 @@ struct pack_chain_elem { git_off_t base_key; git_off_t offset; size_t size; - git_otype type; + git_object_t type; }; typedef git_array_t(struct pack_chain_elem) git_dependency_chain; @@ -123,20 +123,20 @@ typedef struct git_packfile_stream { git_mwindow *mw; } git_packfile_stream; -size_t git_packfile__object_header(unsigned char *hdr, size_t size, git_otype type); +size_t git_packfile__object_header(unsigned char *hdr, size_t size, git_object_t type); int git_packfile__name(char **out, const char *path); int git_packfile_unpack_header( size_t *size_p, - git_otype *type_p, + git_object_t *type_p, git_mwindow_file *mwf, git_mwindow **w_curs, git_off_t *curpos); int git_packfile_resolve_header( size_t *size_p, - git_otype *type_p, + git_object_t *type_p, struct git_pack_file *p, git_off_t offset); @@ -147,7 +147,7 @@ ssize_t git_packfile_stream_read(git_packfile_stream *obj, void *buffer, size_t void git_packfile_stream_dispose(git_packfile_stream *obj); git_off_t get_delta_base(struct git_pack_file *p, git_mwindow **w_curs, - git_off_t *curpos, git_otype type, + git_off_t *curpos, git_object_t type, git_off_t delta_obj_offset); void git_packfile_close(struct git_pack_file *p, bool unlink_packfile); |