4 #include "git-compat-util.h"
9 #define CHUNK_TOC_ENTRY_SIZE (sizeof(uint32_t) + sizeof(uint64_t))
11 struct chunkfile
*init_chunkfile(struct hashfile
*f
);
12 void free_chunkfile(struct chunkfile
*cf
);
13 int get_num_chunks(struct chunkfile
*cf
);
14 typedef int (*chunk_write_fn
)(struct hashfile
*f
, void *data
);
15 void add_chunk(struct chunkfile
*cf
,
19 int write_chunkfile(struct chunkfile
*cf
, void *data
);