Revision 67e223edc4013b0b3b1caad336e4a43f6d4c66b8 authored by Jelmer Vernooij on 27 December 2011, 02:03:45 UTC, committed by Junio C Hamano on 27 December 2011, 19:14:18 UTC
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 5a2df36
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