https://github.com/git/git
Raw File
Tip revision: f23ffbe890d36e277f02d4a84c2b52de3a4e3173 authored by Junio C Hamano on 17 December 2008, 06:08:22 UTC
GIT 1.5.5.6
Tip revision: f23ffbe
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