Revision b0578c9abe77f2e1c958bf76c620d59be6c2cf65 authored by Junio C Hamano on 25 August 2011, 23:00:49 UTC, committed by Junio C Hamano on 25 August 2011, 23:00:49 UTC
* mg/branch-set-upstream-previous:
  branch.c: use the parsed branch name
2 parent s 3f1c70f + e9d4f74
Raw File
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