https://github.com/git/git
Raw File
Tip revision: 552ce11006e39bd07efd79946f180df47aa35b4e authored by Junio C Hamano on 29 September 2007, 23:07:46 UTC
GIT 1.5.3.3
Tip revision: 552ce11
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