Revision 2ff14e31bd8c91356d54b7bac064e7cc615e56b3 authored by Adrian Weimann on 30 January 2012, 19:29:33 UTC, committed by Junio C Hamano on 06 February 2012, 08:00:54 UTC
Signed-off-by: Adrian Weimann <adrian.weimann@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f2120eb
Raw File
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