Revision 2c5b0115038ab283b346fbb8059b93973ff4c8f2 authored by Allan Caffee on 04 May 2009, 17:37:30 UTC, committed by Junio C Hamano on 06 May 2009, 05:04:16 UTC
Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7dae8b2
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