blob: 87a47a970954c10e52e25a2bd3176e593a831cdb [file] [log] [blame] [edit]
#ifndef ALLOC_H
#define ALLOC_H
struct alloc_state;
struct tree;
struct commit;
struct tag;
struct repository;
void *alloc_blob_node(struct repository *r);
void *alloc_tree_node(struct repository *r);
void init_commit_node(struct commit *c);
void *alloc_commit_node(struct repository *r);
void *alloc_tag_node(struct repository *r);
void *alloc_object_node(struct repository *r);
struct alloc_state *alloc_state_alloc(void);
void alloc_state_free_and_null(struct alloc_state **s_);
#endif