https://github.com/git/git
Raw File
Tip revision: 3a461832c5ca4f140e41fdc34f86c90868aea33b authored by Junio C Hamano on 28 June 2013, 21:56:30 UTC
Git 1.8.3.2
Tip revision: 3a46183
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