https://github.com/git/git
Raw File
Tip revision: 42817b96b1b80b56fd5a4d5e0d6239524b1832a3 authored by Junio C Hamano on 30 October 2013, 19:17:47 UTC
Git 1.8.5-rc0
Tip revision: 42817b9
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