]>
Commit | Line | Data |
---|---|---|
2636f614 DB |
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; | |
e451d06b | 12 | unsigned long date; |
2636f614 DB |
13 | }; |
14 | ||
5d6ccf5c | 15 | extern struct tag *lookup_tag(const unsigned char *sha1); |
cf7b1cad | 16 | extern int parse_tag_buffer(struct tag *item, const void *data, unsigned long size); |
d5e27688 | 17 | extern int parse_tag(struct tag *item); |
9534f40b | 18 | extern struct object *deref_tag(struct object *, const char *, int); |
90108a24 | 19 | extern struct object *deref_tag_noverify(struct object *); |
d5e27688 | 20 | |
2636f614 | 21 | #endif /* TAG_H */ |