]> git.ipfire.org Git - thirdparty/git.git/blob - tag.h
tag.c: Refactor parse_tag_buffer to be saner to program
[thirdparty/git.git] / tag.h
1 #ifndef TAG_H
2 #define TAG_H
3
4 #include "object.h"
5
6 extern const char *tag_type;
7
8 struct tag {
9 struct object object;
10 struct object *tagged;
11 char *tag;
12 };
13
14 extern struct tag *lookup_tag(const unsigned char *sha1);
15 extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
16 extern int parse_tag(struct tag *item);
17 extern struct object *deref_tag(struct object *, const char *, int);
18
19 #endif /* TAG_H */