https://github.com/git/git
Raw File
Tip revision: b91779f17eb19ffc2e63e84728e785cf274b47df authored by Junio C Hamano on 15 December 2010, 19:45:36 UTC
Git 1.7.2.5
Tip revision: b91779f
decorate.h
#ifndef DECORATE_H
#define DECORATE_H

struct object_decoration {
	const struct object *base;
	void *decoration;
};

struct decoration {
	const char *name;
	unsigned int size, nr;
	struct object_decoration *hash;
};

extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, const struct object *obj);

#endif
back to top