1#ifndef TAG_H
2#define TAG_H
34
#include "object.h"
56
extern const char *tag_type;
78
struct tag {
9struct object object;
10struct object *tagged;
11char *tag;
12unsigned long date;
13};
1415
extern struct tag *lookup_tag(const unsigned char *sha1);
16extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
17extern int parse_tag(struct tag *item);
18extern struct object *deref_tag(struct object *, const char *, int);
1920
#endif /* TAG_H */