Win32 dirent: improve dirent implementation
[git/mingw/4msysgit.git] / tag.h
blob85223700396f5ddb00c046a1a9fdb63c92aae40e
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, 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 size_t parse_signature(const char *buf, unsigned long size);
21 #endif /* TAG_H */