Teach fsck and prune that tmp_obj_ file names may not be 14 bytes long
[git/git-p4.git] / decorate.h
blob1fa4ad9beb08f23888814b99183487ab85378bfd
1 #ifndef DECORATE_H
2 #define DECORATE_H
4 struct object_decoration {
5 struct object *base;
6 void *decoration;
7 };
9 struct decoration {
10 const char *name;
11 unsigned int size, nr;
12 struct object_decoration *hash;
15 extern void *add_decoration(struct decoration *n, struct object *obj, void *decoration);
16 extern void *lookup_decoration(struct decoration *n, struct object *obj);
18 #endif