Revision 1dad5c14f993dcd2d38ce7eb7ecedb624732d692 authored by SZEDER Gábor on 13 June 2012, 08:11:29 UTC, committed by Junio C Hamano on 13 June 2012, 17:24:46 UTC
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9bea2b5
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