]>
Commit | Line | Data |
---|---|---|
14ba97f8 SB |
1 | #ifndef ALLOC_H |
2 | #define ALLOC_H | |
3 | ||
ef3ca954 | 4 | struct alloc_state; |
14ba97f8 SB |
5 | struct tree; |
6 | struct commit; | |
7 | struct tag; | |
ef3ca954 | 8 | struct repository; |
14ba97f8 SB |
9 | |
10 | void *alloc_blob_node(struct repository *r); | |
11 | void *alloc_tree_node(struct repository *r); | |
4468d443 | 12 | void init_commit_node(struct repository *r, struct commit *c); |
14ba97f8 SB |
13 | void *alloc_commit_node(struct repository *r); |
14 | void *alloc_tag_node(struct repository *r); | |
15 | void *alloc_object_node(struct repository *r); | |
16 | void alloc_report(struct repository *r); | |
14ba97f8 | 17 | |
17313107 | 18 | struct alloc_state *allocate_alloc_state(void); |
14ba97f8 SB |
19 | void clear_alloc_state(struct alloc_state *s); |
20 | ||
21 | #endif |