https://github.com/git/git
Raw File
Tip revision: 7ed863a85a6ce2c4ac4476848310b8f917ab41f9 authored by Junio C Hamano on 30 January 2011, 19:53:13 UTC
Git 1.7.4
Tip revision: 7ed863a
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