Revision ec688f776c359a2ebf1e7a05e59a5bdfd253d0a0 authored by Jean-Noël Avila on 10 August 2019, 16:12:51 UTC, committed by Jean-Noël Avila on 10 August 2019, 16:17:31 UTC
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
1 parent 466c88f
Raw File
alloc.h
#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 repository *r, struct commit *c);
void *alloc_commit_node(struct repository *r);
void *alloc_tag_node(struct repository *r);
void *alloc_object_node(struct repository *r);
void alloc_report(struct repository *r);

struct alloc_state *allocate_alloc_state(void);
void clear_alloc_state(struct alloc_state *s);

#endif
back to top