https://github.com/git/git
Raw File
Tip revision: 4c75136f7697f76b31641db775163f5c75906ee2 authored by Junio C Hamano on 03 October 2007, 09:33:11 UTC
GIT 1.5.3.4
Tip revision: 4c75136
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