Revision 341e7e8eda3dbeb6867f4f8f45b671201b807de5 authored by Junio C Hamano on 25 June 2014, 19:21:11 UTC, committed by Junio C Hamano on 25 June 2014, 19:21:11 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 62bfd83
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