https://github.com/git/git
Raw File
Tip revision: aadd4efa715f56e0eac5ac459c8ff4933b56d4ce authored by Junio C Hamano on 08 January 2008, 06:41:43 UTC
GIT 1.5.3.8
Tip revision: aadd4ef
decorate.h
#ifndef DECORATE_H
#define DECORATE_H

struct object_decoration {
	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, struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, struct object *obj);

#endif
back to top