add_delta_base_cache: use list_for_each_safe
[git/debian.git] / tag.h
bloba5721b6731eb89e1db78e41fcf6b8dfd8784841e
1 #ifndef TAG_H
2 #define TAG_H
4 #include "object.h"
6 extern const char *tag_type;
8 struct tag {
9 struct object object;
10 struct object *tagged;
11 char *tag;
12 unsigned long date;
15 extern struct tag *lookup_tag(const unsigned char *sha1);
16 extern int parse_tag_buffer(struct tag *item, const void *data, unsigned long size);
17 extern int parse_tag(struct tag *item);
18 extern struct object *deref_tag(struct object *, const char *, int);
19 extern struct object *deref_tag_noverify(struct object *);
20 extern int gpg_verify_tag(const unsigned char *sha1,
21 const char *name_to_report, unsigned flags);
23 #endif /* TAG_H */