]> git.ipfire.org Git - thirdparty/git.git/blame - alloc.h
Merge branch 'rs/strbuf-expand-bad-format'
[thirdparty/git.git] / alloc.h
CommitLineData
14ba97f8
SB
1#ifndef ALLOC_H
2#define ALLOC_H
3
ef3ca954 4struct alloc_state;
14ba97f8
SB
5struct tree;
6struct commit;
7struct tag;
ef3ca954 8struct repository;
14ba97f8
SB
9
10void *alloc_blob_node(struct repository *r);
11void *alloc_tree_node(struct repository *r);
6da43d93 12void init_commit_node(struct commit *c);
14ba97f8
SB
13void *alloc_commit_node(struct repository *r);
14void *alloc_tag_node(struct repository *r);
15void *alloc_object_node(struct repository *r);
14ba97f8 16
17313107 17struct alloc_state *allocate_alloc_state(void);
14ba97f8
SB
18void clear_alloc_state(struct alloc_state *s);
19
20#endif