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