alloc.h 527 B

12345678910111213141516171819202122
  1. #ifndef ALLOC_H
  2. #define ALLOC_H
  3. struct alloc_state;
  4. struct tree;
  5. struct commit;
  6. struct tag;
  7. struct repository;
  8. void *alloc_blob_node(struct repository *r);
  9. void *alloc_tree_node(struct repository *r);
  10. void init_commit_node(struct commit *c);
  11. void *alloc_commit_node(struct repository *r);
  12. void *alloc_tag_node(struct repository *r);
  13. void *alloc_object_node(struct repository *r);
  14. void alloc_report(struct repository *r);
  15. struct alloc_state *allocate_alloc_state(void);
  16. void clear_alloc_state(struct alloc_state *s);
  17. #endif