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