https://github.com/git/git
Raw File
Tip revision: 4f8f03d6435e3e1c0d4f95d43022b81c95d6347f authored by Junio C Hamano on 03 August 2007, 22:33:57 UTC
GIT 1.5.3-rc4
Tip revision: 4f8f03d
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