https://github.com/git/git
Raw File
Tip revision: 6a2c2f8d34fa1e8f3bb85d159d354810ed63692e authored by Junio C Hamano on 20 April 2017, 04:42:08 UTC
Git 2.13-rc0
Tip revision: 6a2c2f8
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