https://github.com/git/git
Raw File
Tip revision: 4ace7ff4557350b7e0b57d024a2ea311b332e01d authored by Junio C Hamano on 31 October 2014, 18:57:23 UTC
Git 2.2.0-rc0
Tip revision: 4ace7ff
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